Searched defs:GV (Results 1 - 7 of 7) sorted by relevance
/frameworks/rs/rsov/compiler/ |
H A D | RSAllocationUtils.cpp | 38 bool isRSAllocation(const GlobalVariable &GV) { argument 39 auto *PT = cast<PointerType>(GV.getType()); 55 for (auto &GV : M.globals()) { 56 if (GV.isDeclaration() || !isRSAllocation(GV)) 59 Allocs.push_back({'%' + GV.getName().str(), None, &GV, -1}); 68 // GV name to the corresponding ID. 78 auto *GV = A.GlobalVar; local 79 std::vector<User *> WorkList(GV [all...] |
/frameworks/compile/libbcc/lib/ |
H A D | RSGlobalInfoPass.cpp | 74 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 D | BitcodeWriter.cpp | 344 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 D | BitcodeWriter.cpp | 342 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 D | BitcodeReader.cpp | 263 bool isDematerializable(const GlobalValue *GV) const; 264 std::error_code materialize(GlobalValue *GV) override; 267 void dematerialize(GlobalValue *GV); 2015 GlobalVariable *GV = &*GI; local 2016 UpgradeGlobalVariable(&*GV); 3319 std::error_code BitcodeReader::materialize(GlobalValue *GV) { argument 3323 Function *F = dyn_cast<Function>(GV); 3353 bool BitcodeReader::isDematerializable(const GlobalValue *GV) const { 3354 const Function *F = dyn_cast<Function>(GV); 3360 void BitcodeReader::dematerialize(GlobalValue *GV) { argument [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | BitcodeWriter.cpp | 344 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 D | BitcodeReader.cpp | 102 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); 2308 GlobalVariable *GV = &*GI; local 2309 UpgradeGlobalVariable(GV); 3658 std::error_code BitcodeReader::materialize(GlobalValue *GV) { argument 3699 dematerialize(GlobalValue *GV) argument [all...] |
Completed in 580 milliseconds