Searched defs:GV (Results 1 - 6 of 6) sorted by relevance

/frameworks/compile/libbcc/lib/Renderscript/
H A DRSGlobalInfoPass.cpp74 static uint32_t getEncodedProperties(const llvm::GlobalVariable &GV) { argument
75 auto GlobalType = GV.getType()->getPointerElementType();
86 if (GV.isConstant()) {
90 if (GV.getLinkage() == llvm::GlobalValue::InternalLinkage) {
135 for (auto &GV : M.globals()) {
137 if (mSkipConstants && GV.isConstant()) {
142 if (GV.getName().startswith("llvm.")) {
148 GVAddresses.push_back(llvm::ConstantExpr::getBitCast(&GV, VoidPtrTy));
149 GVNameStrings.push_back(GV.getName());
154 auto GlobalType = GV
[all...]
/frameworks/compile/slang/BitWriter_2_9/
H A DBitcodeWriter.cpp344 static unsigned getEncodedLinkage(const GlobalValue &GV) { argument
345 switch (GV.getLinkage()) {
372 static unsigned getEncodedVisibility(const GlobalValue &GV) { argument
373 switch (GV.getVisibility()) {
403 for (const GlobalValue &GV : M->globals()) {
404 MaxAlignment = std::max(MaxAlignment, GV.getAlignment());
405 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getType()));
406 if (GV.hasSection()) {
408 unsigned &Entry = SectionMap[GV.getSection()];
410 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, GV
[all...]
/frameworks/compile/slang/BitWriter_2_9_func/
H A DBitcodeWriter.cpp342 static unsigned getEncodedLinkage(const GlobalValue &GV) { argument
343 switch (GV.getLinkage()) {
370 static unsigned getEncodedVisibility(const GlobalValue &GV) { argument
371 switch (GV.getVisibility()) {
401 for (const GlobalValue &GV : M->globals()) {
402 MaxAlignment = std::max(MaxAlignment, GV.getAlignment());
403 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getType()));
404 if (GV.hasSection()) {
406 unsigned &Entry = SectionMap[GV.getSection()];
408 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, GV
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp263 bool isDematerializable(const GlobalValue *GV) const;
264 std::error_code materialize(GlobalValue *GV) override;
267 void dematerialize(GlobalValue *GV);
2003 GlobalVariable *GV = &*GI; local
2004 UpgradeGlobalVariable(&*GV);
3307 std::error_code BitcodeReader::materialize(GlobalValue *GV) { argument
3311 Function *F = dyn_cast<Function>(GV);
3341 bool BitcodeReader::isDematerializable(const GlobalValue *GV) const {
3342 const Function *F = dyn_cast<Function>(GV);
3348 void BitcodeReader::dematerialize(GlobalValue *GV) { argument
[all...]
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp344 static unsigned getEncodedLinkage(const GlobalValue &GV) { argument
345 switch (GV.getLinkage()) {
372 static unsigned getEncodedVisibility(const GlobalValue &GV) { argument
373 switch (GV.getVisibility()) {
381 static unsigned getEncodedThreadLocalMode(const GlobalVariable &GV) { argument
382 switch (GV.getThreadLocalMode()) {
414 for (const GlobalValue &GV : M->globals()) {
415 MaxAlignment = std::max(MaxAlignment, GV.getAlignment());
416 MaxGlobalType = std::max(MaxGlobalType, VE.getTypeID(GV.getType()));
417 if (GV
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp102 GlobalVariable *GV = cast<GlobalVariable>(Val); local
103 LPI->addClause(GV->getInitializer());
133 GlobalVariable *GV = cast<GlobalVariable>(Val); local
134 LPI->addClause(GV->getInitializer());
500 bool isDematerializable(const GlobalValue *GV) const;
501 std::error_code materialize(GlobalValue *GV) override;
504 void dematerialize(GlobalValue *GV);
2296 GlobalVariable *GV = &*GI; local
2297 UpgradeGlobalVariable(GV);
3641 std::error_code BitcodeReader::materialize(GlobalValue *GV) { argument
3682 dematerialize(GlobalValue *GV) argument
[all...]

Completed in 1955 milliseconds