/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | GlobalValue.h | 81 UnnamedAddrVal(unsigned(UnnamedAddr::None)), in GlobalValue() 174 enum class UnnamedAddr { enum 181 return getUnnamedAddr() == UnnamedAddr::Global; in hasGlobalUnnamedAddr() 190 return getUnnamedAddr() != UnnamedAddr::None; in hasAtLeastLocalUnnamedAddr() 193 UnnamedAddr getUnnamedAddr() const { in getUnnamedAddr() 194 return UnnamedAddr(UnnamedAddrVal); in getUnnamedAddr() 196 void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } in setUnnamedAddr() 198 static UnnamedAddr getMinUnnamedAddr(UnnamedAddr A, UnnamedAddr B) { in getMinUnnamedAddr() 199 if (A == UnnamedAddr::None || B == UnnamedAddr::None) in getMinUnnamedAddr() 200 return UnnamedAddr::None; in getMinUnnamedAddr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | GlobalValue.h | 81 UnnamedAddrVal(unsigned(UnnamedAddr::None)), in GlobalValue() 193 enum class UnnamedAddr { enum 200 return getUnnamedAddr() == UnnamedAddr::Global; in hasGlobalUnnamedAddr() 209 return getUnnamedAddr() != UnnamedAddr::None; in hasAtLeastLocalUnnamedAddr() 212 UnnamedAddr getUnnamedAddr() const { in getUnnamedAddr() 213 return UnnamedAddr(UnnamedAddrVal); in getUnnamedAddr() 215 void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } in setUnnamedAddr() 217 static UnnamedAddr getMinUnnamedAddr(UnnamedAddr A, UnnamedAddr B) { in getMinUnnamedAddr() 218 if (A == UnnamedAddr::None || B == UnnamedAddr::None) in getMinUnnamedAddr() 219 return UnnamedAddr::None; in getMinUnnamedAddr() [all …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/ |
D | LLParser.h | 269 bool ParseOptionalUnnamedAddr(GlobalVariable::UnnamedAddr &UnnamedAddr); 323 GlobalVariable::UnnamedAddr UnnamedAddr); 328 GlobalVariable::UnnamedAddr UnnamedAddr);
|
D | LLParser.cpp | 524 GlobalVariable::UnnamedAddr &UnnamedAddr) { in ParseOptionalUnnamedAddr() argument 526 UnnamedAddr = GlobalValue::UnnamedAddr::Global; in ParseOptionalUnnamedAddr() 528 UnnamedAddr = GlobalValue::UnnamedAddr::Local; in ParseOptionalUnnamedAddr() 530 UnnamedAddr = GlobalValue::UnnamedAddr::None; in ParseOptionalUnnamedAddr() 563 GlobalVariable::UnnamedAddr UnnamedAddr; in ParseUnnamedGlobal() local 566 ParseOptionalThreadLocal(TLM) || ParseOptionalUnnamedAddr(UnnamedAddr)) in ParseUnnamedGlobal() 571 DLLStorageClass, DSOLocal, TLM, UnnamedAddr); in ParseUnnamedGlobal() 574 DLLStorageClass, DSOLocal, TLM, UnnamedAddr); in ParseUnnamedGlobal() 592 GlobalVariable::UnnamedAddr UnnamedAddr; in ParseNamedGlobal() local 596 ParseOptionalThreadLocal(TLM) || ParseOptionalUnnamedAddr(UnnamedAddr)) in ParseNamedGlobal() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 741 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in emitProfileArcs() 816 EdgeTableGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in buildEdgeLookupTable() 897 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in getEdgeStateValue() 909 WriteoutF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout() 1001 GlobalValue::UnnamedAddr::Global); in insertCounterWriteout() 1007 EmitArcsCallArgsArrayGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout() 1040 FileInfoArrayGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout() 1128 Fn->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertIndirectCounterIncrement() 1185 FlushF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertFlush()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/ |
D | LinkModules.cpp | 366 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::getMinUnnamedAddr( in linkIfNeeded() local 368 DGV->setUnnamedAddr(UnnamedAddr); in linkIfNeeded() 369 GV.setUnnamedAddr(UnnamedAddr); in linkIfNeeded()
|
/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()
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 189 Slot->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in mergeConstants()
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | LTO.cpp | 439 GlobalRes.UnnamedAddr &= Sym.isUnnamedAddr(); in addModuleToGlobalRes() 878 GV->setUnnamedAddr(R.second.UnnamedAddr ? GlobalValue::UnnamedAddr::Global in runRegularLTO() 879 : GlobalValue::UnnamedAddr::None); in runRegularLTO()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 938 static GlobalVariable::UnnamedAddr getDecodedUnnamedAddrType(unsigned Val) { in getDecodedUnnamedAddrType() 941 case 0: return GlobalVariable::UnnamedAddr::None; in getDecodedUnnamedAddrType() 942 case 1: return GlobalVariable::UnnamedAddr::Global; in getDecodedUnnamedAddrType() 943 case 2: return GlobalVariable::UnnamedAddr::Local; in getDecodedUnnamedAddrType() 2887 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None; in parseGlobalVarRecord() local 2889 UnnamedAddr = getDecodedUnnamedAddrType(Record[8]); in parseGlobalVarRecord() 2902 NewGV->setUnnamedAddr(UnnamedAddr); in parseGlobalVarRecord() 2987 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None; in parseFunctionRecord() local 2989 UnnamedAddr = getDecodedUnnamedAddrType(Record[9]); in parseFunctionRecord() 2990 Func->setUnnamedAddr(UnnamedAddr); in parseFunctionRecord()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | fused_ir_emitter.cc | 93 global->setUnnamedAddr(llvm::GlobalVariable::UnnamedAddr::Global); in HandleConstant()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 147 V.setUnnamedAddr(GlobalValue::UnnamedAddr::None); in raiseVisibilityOnValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/ |
D | LTO.h | 326 bool UnnamedAddr = true; member
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Core.cpp | 1762 case GlobalVariable::UnnamedAddr::None: in LLVMGetUnnamedAddress() 1764 case GlobalVariable::UnnamedAddr::Local: in LLVMGetUnnamedAddress() 1766 case GlobalVariable::UnnamedAddr::Global: in LLVMGetUnnamedAddress() 1772 void LLVMSetUnnamedAddress(LLVMValueRef Global, LLVMUnnamedAddr UnnamedAddr) { in LLVMSetUnnamedAddress() argument 1775 switch (UnnamedAddr) { in LLVMSetUnnamedAddress() 1777 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::None); in LLVMSetUnnamedAddress() 1779 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::Local); in LLVMSetUnnamedAddress() 1781 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::Global); in LLVMSetUnnamedAddress() 1791 HasUnnamedAddr ? GlobalValue::UnnamedAddr::Global in LLVMSetUnnamedAddr() 1792 : GlobalValue::UnnamedAddr::None); in LLVMSetUnnamedAddr()
|
/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()
|