/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SplitModule.cpp | 129 if (auto *GIS = dyn_cast<GlobalIndirectSymbol>(&GV)) { in findPartitions() local 130 if (const GlobalObject *Base = GIS->getBaseObject()) in findPartitions() 229 if (auto *GIS = dyn_cast<GlobalIndirectSymbol>(GV)) in isInPartition() local 230 if (const GlobalObject *Base = GIS->getBaseObject()) in isInPartition()
|
D | ValueMapper.cpp | 80 GlobalIndirectSymbol *GIS; member 163 void scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, Constant &Target, 830 E.Data.GlobalIndirectSymbol.GIS->setIndirectSymbol( in flush() 1023 void Mapper::scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, in scheduleMapGlobalIndirectSymbol() argument 1025 assert(AlreadyScheduled.insert(&GIS).second && "Should not reschedule"); in scheduleMapGlobalIndirectSymbol() 1031 WE.Data.GlobalIndirectSymbol.GIS = &GIS; in scheduleMapGlobalIndirectSymbol() 1129 void ValueMapper::scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, in scheduleMapGlobalIndirectSymbol() argument 1132 getAsMapper(pImpl)->scheduleMapGlobalIndirectSymbol(GIS, Target, MCID); in scheduleMapGlobalIndirectSymbol()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SplitModule.cpp | 129 if (auto *GIS = dyn_cast<GlobalIndirectSymbol>(&GV)) { in findPartitions() local 130 if (const GlobalObject *Base = GIS->getBaseObject()) in findPartitions() 229 if (auto *GIS = dyn_cast<GlobalIndirectSymbol>(GV)) in isInPartition() local 230 if (const GlobalObject *Base = GIS->getBaseObject()) in isInPartition()
|
D | ValueMapper.cpp | 81 GlobalIndirectSymbol *GIS; member 164 void scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, Constant &Target, 175 void mapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, Constant &Target); 833 E.Data.GlobalIndirectSymbol.GIS->setIndirectSymbol( in flush() 1027 void Mapper::scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, in scheduleMapGlobalIndirectSymbol() argument 1029 assert(AlreadyScheduled.insert(&GIS).second && "Should not reschedule"); in scheduleMapGlobalIndirectSymbol() 1035 WE.Data.GlobalIndirectSymbol.GIS = &GIS; in scheduleMapGlobalIndirectSymbol() 1133 void ValueMapper::scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, in scheduleMapGlobalIndirectSymbol() argument 1136 getAsMapper(pImpl)->scheduleMapGlobalIndirectSymbol(GIS, Target, MCID); in scheduleMapGlobalIndirectSymbol()
|
/external/llvm/lib/Transforms/Utils/ |
D | SplitModule.cpp | 110 if (auto *GIS = dyn_cast<GlobalIndirectSymbol>(&GV)) { in findPartitions() local 111 if (const GlobalObject *Base = GIS->getBaseObject()) in findPartitions() 208 if (auto *GIS = dyn_cast<GlobalIndirectSymbol>(GV)) in isInPartition() local 209 if (const GlobalObject *Base = GIS->getBaseObject()) in isInPartition()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalDCE.cpp | 232 } else if (GlobalIndirectSymbol *GIS = dyn_cast<GlobalIndirectSymbol>(G)) { in GlobalIsNeeded() local 234 MarkUsedGlobalsAsNeeded(GIS->getIndirectSymbol()); in GlobalIsNeeded()
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1483 const GlobalIndirectSymbol& GIS) { in emitGlobalIndirectSymbol() argument 1484 MCSymbol *Name = getSymbol(&GIS); in emitGlobalIndirectSymbol() 1485 bool IsFunction = GIS.getValueType()->isFunctionTy(); in emitGlobalIndirectSymbol() 1489 if (auto *CE = dyn_cast<ConstantExpr>(GIS.getIndirectSymbol())) in emitGlobalIndirectSymbol() 1499 assert(!isa<GlobalIFunc>(GIS) && "IFunc is not supported on AIX."); in emitGlobalIndirectSymbol() 1502 emitLinkage(&GIS, Name); in emitGlobalIndirectSymbol() 1506 emitLinkage(&GIS, in emitGlobalIndirectSymbol() 1507 getObjFileLowering().getFunctionEntryPointSymbol(&GIS, TM)); in emitGlobalIndirectSymbol() 1511 if (GIS.hasExternalLinkage() || !MAI->getWeakRefDirective()) in emitGlobalIndirectSymbol() 1513 else if (GIS.hasWeakLinkage() || GIS.hasLinkOnceLinkage()) in emitGlobalIndirectSymbol() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1064 const GlobalIndirectSymbol& GIS) { in emitGlobalIndirectSymbol() argument 1065 MCSymbol *Name = getSymbol(&GIS); in emitGlobalIndirectSymbol() 1067 if (GIS.hasExternalLinkage() || !MAI->getWeakRefDirective()) in emitGlobalIndirectSymbol() 1069 else if (GIS.hasWeakLinkage() || GIS.hasLinkOnceLinkage()) in emitGlobalIndirectSymbol() 1072 assert(GIS.hasLocalLinkage() && "Invalid alias or ifunc linkage"); in emitGlobalIndirectSymbol() 1076 if (GIS.getType()->getPointerElementType()->isFunctionTy()) { in emitGlobalIndirectSymbol() 1078 if (isa<GlobalIFunc>(GIS)) in emitGlobalIndirectSymbol() 1082 EmitVisibility(Name, GIS.getVisibility()); in emitGlobalIndirectSymbol() 1084 const MCExpr *Expr = lowerConstant(GIS.getIndirectSymbol()); in emitGlobalIndirectSymbol() 1086 if (isa<GlobalAlias>(&GIS) && MAI->hasAltEntry() && isa<MCBinaryExpr>(Expr)) in emitGlobalIndirectSymbol() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1334 const GlobalIndirectSymbol& GIS) { in emitGlobalIndirectSymbol() argument 1335 MCSymbol *Name = getSymbol(&GIS); in emitGlobalIndirectSymbol() 1337 if (GIS.hasExternalLinkage() || !MAI->getWeakRefDirective()) in emitGlobalIndirectSymbol() 1339 else if (GIS.hasWeakLinkage() || GIS.hasLinkOnceLinkage()) in emitGlobalIndirectSymbol() 1342 assert(GIS.hasLocalLinkage() && "Invalid alias or ifunc linkage"); in emitGlobalIndirectSymbol() 1344 bool IsFunction = GIS.getValueType()->isFunctionTy(); in emitGlobalIndirectSymbol() 1349 if (auto *CE = dyn_cast<ConstantExpr>(GIS.getIndirectSymbol())) in emitGlobalIndirectSymbol() 1357 OutStreamer->EmitSymbolAttribute(Name, isa<GlobalIFunc>(GIS) in emitGlobalIndirectSymbol() 1361 EmitVisibility(Name, GIS.getVisibility()); in emitGlobalIndirectSymbol() 1363 const MCExpr *Expr = lowerConstant(GIS.getIndirectSymbol()); in emitGlobalIndirectSymbol() [all …]
|
/external/llvm/lib/IR/ |
D | AsmWriter.cpp | 2094 void printIndirectSymbol(const GlobalIndirectSymbol *GIS); 2502 void AssemblyWriter::printIndirectSymbol(const GlobalIndirectSymbol *GIS) { in printIndirectSymbol() argument 2503 if (GIS->isMaterializable()) in printIndirectSymbol() 2506 WriteAsOperandInternal(Out, GIS, &TypePrinter, &Machine, GIS->getParent()); in printIndirectSymbol() 2509 Out << getLinkagePrintName(GIS->getLinkage()); in printIndirectSymbol() 2510 PrintVisibility(GIS->getVisibility(), Out); in printIndirectSymbol() 2511 PrintDLLStorageClass(GIS->getDLLStorageClass(), Out); in printIndirectSymbol() 2512 PrintThreadLocalModel(GIS->getThreadLocalMode(), Out); in printIndirectSymbol() 2513 StringRef UA = getUnnamedAddrEncoding(GIS->getUnnamedAddr()); in printIndirectSymbol() 2517 if (isa<GlobalAlias>(GIS)) in printIndirectSymbol() [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | AsmWriter.cpp | 2597 void printIndirectSymbol(const GlobalIndirectSymbol *GIS); 3561 void AssemblyWriter::printIndirectSymbol(const GlobalIndirectSymbol *GIS) { in printIndirectSymbol() argument 3562 if (GIS->isMaterializable()) in printIndirectSymbol() 3565 WriteAsOperandInternal(Out, GIS, &TypePrinter, &Machine, GIS->getParent()); in printIndirectSymbol() 3568 Out << getLinkageNameWithSpace(GIS->getLinkage()); in printIndirectSymbol() 3569 PrintDSOLocation(*GIS, Out); in printIndirectSymbol() 3570 PrintVisibility(GIS->getVisibility(), Out); in printIndirectSymbol() 3571 PrintDLLStorageClass(GIS->getDLLStorageClass(), Out); in printIndirectSymbol() 3572 PrintThreadLocalModel(GIS->getThreadLocalMode(), Out); in printIndirectSymbol() 3573 StringRef UA = getUnnamedAddrEncoding(GIS->getUnnamedAddr()); in printIndirectSymbol() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AsmWriter.cpp | 2408 void printIndirectSymbol(const GlobalIndirectSymbol *GIS); 3328 void AssemblyWriter::printIndirectSymbol(const GlobalIndirectSymbol *GIS) { in printIndirectSymbol() argument 3329 if (GIS->isMaterializable()) in printIndirectSymbol() 3332 WriteAsOperandInternal(Out, GIS, &TypePrinter, &Machine, GIS->getParent()); in printIndirectSymbol() 3335 Out << getLinkageNameWithSpace(GIS->getLinkage()); in printIndirectSymbol() 3336 PrintDSOLocation(*GIS, Out); in printIndirectSymbol() 3337 PrintVisibility(GIS->getVisibility(), Out); in printIndirectSymbol() 3338 PrintDLLStorageClass(GIS->getDLLStorageClass(), Out); in printIndirectSymbol() 3339 PrintThreadLocalModel(GIS->getThreadLocalMode(), Out); in printIndirectSymbol() 3340 StringRef UA = getUnnamedAddrEncoding(GIS->getUnnamedAddr()); in printIndirectSymbol() [all …]
|
/external/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | ValueMapper.h | 183 void scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | ValueMapper.h | 183 void scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS,
|
/external/llvm-project/llvm/lib/Linker/ |
D | IRMover.cpp | 675 GlobalIndirectSymbol *GIS; in copyGlobalIndirectSymbolProto() local 677 GIS = GlobalAlias::create(Ty, SGIS->getAddressSpace(), in copyGlobalIndirectSymbolProto() 681 GIS = GlobalIFunc::create(Ty, SGIS->getAddressSpace(), in copyGlobalIndirectSymbolProto() 684 GIS->copyAttributesFrom(SGIS); in copyGlobalIndirectSymbolProto() 685 return GIS; in copyGlobalIndirectSymbolProto()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | IRMover.cpp | 672 GlobalIndirectSymbol *GIS; in copyGlobalIndirectSymbolProto() local 674 GIS = GlobalAlias::create(Ty, SGIS->getAddressSpace(), in copyGlobalIndirectSymbolProto() 678 GIS = GlobalIFunc::create(Ty, SGIS->getAddressSpace(), in copyGlobalIndirectSymbolProto() 681 GIS->copyAttributesFrom(SGIS); in copyGlobalIndirectSymbolProto() 682 return GIS; in copyGlobalIndirectSymbolProto()
|
/external/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 554 const GlobalIndirectSymbol& GIS);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 707 void emitGlobalIndirectSymbol(Module &M, const GlobalIndirectSymbol &GIS);
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 786 void emitGlobalIndirectSymbol(Module &M, const GlobalIndirectSymbol &GIS);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 360 for (auto &GIS : concat<GlobalIndirectSymbol>(M.aliases(), M.ifuncs())) { in ScopedSaveAliaseesAndUsed() local 364 dyn_cast<Function>(GIS.getIndirectSymbol()->stripPointerCasts())) in ScopedSaveAliaseesAndUsed() 365 FunctionAliases.push_back({&GIS, F}); in ScopedSaveAliaseesAndUsed()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 360 for (auto &GIS : concat<GlobalIndirectSymbol>(M.aliases(), M.ifuncs())) { in ScopedSaveAliaseesAndUsed() local 364 dyn_cast<Function>(GIS.getIndirectSymbol()->stripPointerCasts())) in ScopedSaveAliaseesAndUsed() 365 FunctionAliases.push_back({&GIS, F}); in ScopedSaveAliaseesAndUsed()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2267 GlobalIndirectSymbol *GIS = IndirectSymbolInitWorklist.back().first; in resolveGlobalAndIndirectSymbolInits() local 2268 if (isa<GlobalAlias>(GIS) && C->getType() != GIS->getType()) in resolveGlobalAndIndirectSymbolInits() 2270 GIS->setIndirectSymbol(C); in resolveGlobalAndIndirectSymbolInits()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2808 GlobalIndirectSymbol *GIS = IndirectSymbolInitWorklist.back().first; in resolveGlobalAndIndirectSymbolInits() local 2809 if (isa<GlobalAlias>(GIS) && C->getType() != GIS->getType()) in resolveGlobalAndIndirectSymbolInits() 2811 GIS->setIndirectSymbol(C); in resolveGlobalAndIndirectSymbolInits()
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2275 GlobalIndirectSymbol *GIS = IndirectSymbolInitWorklist.back().first; in resolveGlobalAndIndirectSymbolInits() local 2276 if (isa<GlobalAlias>(GIS) && C->getType() != GIS->getType()) in resolveGlobalAndIndirectSymbolInits() 2278 GIS->setIndirectSymbol(C); in resolveGlobalAndIndirectSymbolInits()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 260 const llvm::GlobalIndirectSymbol &GIS) { in getAliasedGlobal() argument 262 const llvm::Constant *C = &GIS; in getAliasedGlobal()
|