/external/llvm/include/llvm/IR/ |
D | GlobalValue.h | 73 UnnamedAddrVal(unsigned(UnnamedAddr::None)), in GlobalValue() 157 enum class UnnamedAddr { enum 164 return getUnnamedAddr() == UnnamedAddr::Global; in hasGlobalUnnamedAddr() 173 return getUnnamedAddr() != UnnamedAddr::None; in hasAtLeastLocalUnnamedAddr() 176 UnnamedAddr getUnnamedAddr() const { in getUnnamedAddr() 177 return UnnamedAddr(UnnamedAddrVal); in getUnnamedAddr() 179 void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } in setUnnamedAddr() 181 static UnnamedAddr getMinUnnamedAddr(UnnamedAddr A, UnnamedAddr B) { in getMinUnnamedAddr() 182 if (A == UnnamedAddr::None || B == UnnamedAddr::None) in getMinUnnamedAddr() 183 return UnnamedAddr::None; in getMinUnnamedAddr() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | GlobalValue.h | 64 UnnamedAddr(0) { in GlobalValue() 74 unsigned UnnamedAddr : 1; // This value's address is not significant variable 86 bool hasUnnamedAddr() const { return UnnamedAddr; } in hasUnnamedAddr() 87 void setUnnamedAddr(bool Val) { UnnamedAddr = Val; } in setUnnamedAddr()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.h | 229 bool ParseOptionalUnnamedAddr(GlobalVariable::UnnamedAddr &UnnamedAddr); 277 GlobalVariable::UnnamedAddr UnnamedAddr); 282 GlobalVariable::UnnamedAddr UnnamedAddr);
|
D | LLParser.cpp | 459 GlobalVariable::UnnamedAddr &UnnamedAddr) { in ParseOptionalUnnamedAddr() argument 461 UnnamedAddr = GlobalValue::UnnamedAddr::Global; in ParseOptionalUnnamedAddr() 463 UnnamedAddr = GlobalValue::UnnamedAddr::Local; in ParseOptionalUnnamedAddr() 465 UnnamedAddr = GlobalValue::UnnamedAddr::None; in ParseOptionalUnnamedAddr() 495 GlobalVariable::UnnamedAddr UnnamedAddr; in ParseUnnamedGlobal() local 497 ParseOptionalThreadLocal(TLM) || ParseOptionalUnnamedAddr(UnnamedAddr)) in ParseUnnamedGlobal() 502 DLLStorageClass, TLM, UnnamedAddr); in ParseUnnamedGlobal() 505 DLLStorageClass, TLM, UnnamedAddr); in ParseUnnamedGlobal() 521 GlobalVariable::UnnamedAddr UnnamedAddr; in ParseNamedGlobal() local 524 ParseOptionalThreadLocal(TLM) || ParseOptionalUnnamedAddr(UnnamedAddr)) in ParseNamedGlobal() [all …]
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 380 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::getMinUnnamedAddr( in linkIfNeeded() local 382 DGV->setUnnamedAddr(UnnamedAddr); in linkIfNeeded() 383 GV.setUnnamedAddr(UnnamedAddr); in linkIfNeeded()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 686 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in emitProfileArcs() 761 EdgeTableGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in buildEdgeLookupTable() 825 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in getEdgeStateValue() 837 WriteoutF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout() 897 Fn->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertIndirectCounterIncrement() 954 FlushF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertFlush()
|
D | InstrProfiling.cpp | 510 RegisterF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in emitRegistration() 614 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in emitInitialization()
|
D | EfficiencySanitizer.cpp | 146 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createPrivateGlobalForString()
|
D | AddressSanitizer.cpp | 847 if (AllowMerging) GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createPrivateGlobalForString() 864 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createPrivateGlobalForSourceLoc()
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 112 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::Global; member 549 Res.UnnamedAddr = in claim_file_hook() 550 GlobalValue::getMinUnnamedAddr(Res.UnnamedAddr, GV->getUnnamedAddr()); in claim_file_hook() 738 GV->setUnnamedAddr(Res.UnnamedAddr); in getModuleForFile()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 159 Slot->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in mergeConstants()
|
D | GlobalOpt.cpp | 1955 auto NewUnnamedAddr = GV.hasLocalLinkage() ? GlobalValue::UnnamedAddr::Global in processGlobal() 1956 : GlobalValue::UnnamedAddr::Local; in processGlobal()
|
/external/clang/lib/CodeGen/ |
D | CGVTT.cpp | 124 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GetAddrOfVTT()
|
D | CGVTables.cpp | 608 F->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in CreateVTableInitializer() 621 F->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in CreateVTableInitializer() 700 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GenerateConstructionVTable()
|
D | MicrosoftCXXABI.cpp | 1709 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getAddrOfVTable() 1737 VFTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getAddrOfVTable() 1924 ThunkFn->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::None); in EmitVirtualMemPtrThunk() 1981 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getAddrOfVBTable() 3978 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getCatchableType() 4096 CTA->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getCatchableTypeArray() 4165 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getThrowInfo()
|
D | CodeGenModule.cpp | 1084 F->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in SetFunctionAttributes() 1087 F->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in SetFunctionAttributes() 1342 gv->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in EmitAnnotationString() 3177 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GetAddrOfConstantCFString() 3315 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GetAddrOfConstantString() 3434 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GenerateStringLiteral()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 147 V.setUnnamedAddr(GlobalValue::UnnamedAddr::None); in raiseVisibilityOnValue()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 765 static GlobalVariable::UnnamedAddr getDecodedUnnamedAddrType(unsigned Val) { in getDecodedUnnamedAddrType() 768 case 0: return GlobalVariable::UnnamedAddr::None; in getDecodedUnnamedAddrType() 769 case 1: return GlobalVariable::UnnamedAddr::Global; in getDecodedUnnamedAddrType() 770 case 2: return GlobalVariable::UnnamedAddr::Local; in getDecodedUnnamedAddrType() 3824 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None; in parseModule() local 3826 UnnamedAddr = getDecodedUnnamedAddrType(Record[8]); in parseModule() 3839 NewGV->setUnnamedAddr(UnnamedAddr); in parseModule() 3909 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None; in parseModule() local 3911 UnnamedAddr = getDecodedUnnamedAddrType(Record[9]); in parseModule() 3912 Func->setUnnamedAddr(UnnamedAddr); in parseModule()
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1724 bool UnnamedAddr = false; in ParseModule() local 1726 UnnamedAddr = Record[8]; in ParseModule() 1736 NewGV->setUnnamedAddr(UnnamedAddr); in ParseModule() 1779 bool UnnamedAddr = false; in ParseModule() local 1781 UnnamedAddr = Record[9]; in ParseModule() 1782 Func->setUnnamedAddr(UnnamedAddr); in ParseModule()
|
/external/swiftshader/third_party/LLVM/lib/AsmParser/ |
D | LLParser.cpp | 653 bool ThreadLocal, IsConstant, UnnamedAddr; in ParseGlobal() local 660 ParseOptionalToken(lltok::kw_unnamed_addr, UnnamedAddr, in ParseGlobal() 719 GV->setUnnamedAddr(UnnamedAddr); in ParseGlobal() 2656 bool UnnamedAddr; in ParseFunctionHeader() local 2660 ParseOptionalToken(lltok::kw_unnamed_addr, UnnamedAddr, in ParseFunctionHeader() 2749 Fn->setUnnamedAddr(UnnamedAddr); in ParseFunctionHeader()
|
/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 37 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in CreateGlobalString()
|
D | AsmWriter.cpp | 2427 static StringRef getUnnamedAddrEncoding(GlobalVariable::UnnamedAddr UA) { in getUnnamedAddrEncoding() 2429 case GlobalVariable::UnnamedAddr::None: in getUnnamedAddrEncoding() 2431 case GlobalVariable::UnnamedAddr::Local: in getUnnamedAddrEncoding() 2433 case GlobalVariable::UnnamedAddr::Global: in getUnnamedAddrEncoding()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 699 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in handleAlloca()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1003 case GlobalValue::UnnamedAddr::None: return 0; in getEncodedUnnamedAddr() 1004 case GlobalValue::UnnamedAddr::Local: return 2; in getEncodedUnnamedAddr() 1005 case GlobalValue::UnnamedAddr::Global: return 1; in getEncodedUnnamedAddr() 1171 GV.getUnnamedAddr() != GlobalValue::UnnamedAddr::None || in writeModuleInfo()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 824 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); // Ok to merge these. in processLoopStridedStore()
|