Home
last modified time | relevance | path

Searched refs:GIS (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/llvm/lib/Transforms/Utils/
DSplitModule.cpp129 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()
DValueMapper.cpp80 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/
DSplitModule.cpp129 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()
DValueMapper.cpp81 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/
DSplitModule.cpp110 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/
DGlobalDCE.cpp232 } else if (GlobalIndirectSymbol *GIS = dyn_cast<GlobalIndirectSymbol>(G)) { in GlobalIsNeeded() local
234 MarkUsedGlobalsAsNeeded(GIS->getIndirectSymbol()); in GlobalIsNeeded()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1483 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/
DAsmPrinter.cpp1064 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/
DAsmPrinter.cpp1334 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/
DAsmWriter.cpp2094 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/
DAsmWriter.cpp2597 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/
DAsmWriter.cpp2408 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/
DValueMapper.h183 void scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DValueMapper.h183 void scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS,
/external/llvm-project/llvm/lib/Linker/
DIRMover.cpp675 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/
DIRMover.cpp672 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/
DAsmPrinter.h554 const GlobalIndirectSymbol& GIS);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAsmPrinter.h707 void emitGlobalIndirectSymbol(Module &M, const GlobalIndirectSymbol &GIS);
/external/llvm-project/llvm/include/llvm/CodeGen/
DAsmPrinter.h786 void emitGlobalIndirectSymbol(Module &M, const GlobalIndirectSymbol &GIS);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp360 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/
DLowerTypeTests.cpp360 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/
DBitcodeReader.cpp2267 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/
DBitcodeReader.cpp2808 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/
DBitcodeReader.cpp2275 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/
DCodeGenModule.cpp260 const llvm::GlobalIndirectSymbol &GIS) { in getAliasedGlobal() argument
262 const llvm::Constant *C = &GIS; in getAliasedGlobal()

12