/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalValue.h | 84 UnnamedAddrVal(unsigned(UnnamedAddr::None)), in GlobalValue() 209 enum class UnnamedAddr { enum 216 return getUnnamedAddr() == UnnamedAddr::Global; in hasGlobalUnnamedAddr() 225 return getUnnamedAddr() != UnnamedAddr::None; in hasAtLeastLocalUnnamedAddr() 228 UnnamedAddr getUnnamedAddr() const { in getUnnamedAddr() 229 return UnnamedAddr(UnnamedAddrVal); in getUnnamedAddr() 231 void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } in setUnnamedAddr() 233 static UnnamedAddr getMinUnnamedAddr(UnnamedAddr A, UnnamedAddr B) { in getMinUnnamedAddr() 234 if (A == UnnamedAddr::None || B == UnnamedAddr::None) in getMinUnnamedAddr() 235 return UnnamedAddr::None; in getMinUnnamedAddr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | JMCInstrumenter.cpp | 142 DefaultCheckFunc->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createDefaultCheckFunction() 184 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in runImpl() 203 CheckFunc->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in runImpl()
|
H A D | MachineOutliner.cpp | 709 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createOutlinedFunction()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
H A D | LLParser.h | 287 bool parseOptionalUnnamedAddr(GlobalVariable::UnnamedAddr &UnnamedAddr); 362 GlobalVariable::UnnamedAddr UnnamedAddr); 367 GlobalVariable::UnnamedAddr UnnamedAddr);
|
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 371 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::getMinUnnamedAddr( in linkIfNeeded() local 373 DGV->setUnnamedAddr(UnnamedAddr); in linkIfNeeded() 374 GV.setUnnamedAddr(UnnamedAddr); in linkIfNeeded()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | Instrumentation.cpp | 67 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createPrivateGlobalForString()
|
H A D | GCOVProfiling.cpp | 995 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createInternalFunction() 1168 GlobalValue::UnnamedAddr::Global); in insertCounterWriteout() 1174 EmitArcsCallArgsArrayGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout() 1207 FileInfoArrayGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64GlobalsTagging.cpp | 120 G->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in runOnModule()
|
H A D | AArch64LowerHomogeneousPrologEpilog.cpp | 173 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createFrameHelperMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | Speculation.cpp | 96 SpeculatorGuard->setUnnamedAddr(GlobalValue::UnnamedAddr::Local); in emit()
|
H A D | IndirectionUtils.cpp | 301 GV.setUnnamedAddr(GlobalValue::UnnamedAddr::None); in operator ()()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
H A D | Utility.cpp | 50 Str->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in getOffloadingEntryInitializer()
|
H A D | OffloadWrapper.cpp | 132 Image->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createBinDesc() 173 Images->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createBinDesc()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ConstantMerge.cpp | 111 New->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in makeMergeable()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | RelLookupTableConverter.cpp | 125 RelLookupTable->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createRelLookupTable()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 782 GlobalVariable::UnnamedAddr &UnnamedAddr) { in parseOptionalUnnamedAddr() argument 784 UnnamedAddr = GlobalValue::UnnamedAddr::Global; in parseOptionalUnnamedAddr() 786 UnnamedAddr = GlobalValue::UnnamedAddr::Local; in parseOptionalUnnamedAddr() 788 UnnamedAddr = GlobalValue::UnnamedAddr::None; in parseOptionalUnnamedAddr() 824 GlobalVariable::UnnamedAddr UnnamedAddr; in parseUnnamedGlobal() local 827 parseOptionalThreadLocal(TLM) || parseOptionalUnnamedAddr(UnnamedAddr)) in parseUnnamedGlobal() 833 DLLStorageClass, DSOLocal, TLM, UnnamedAddr); in parseUnnamedGlobal() 837 DLLStorageClass, DSOLocal, TLM, UnnamedAddr); in parseUnnamedGlobal() 856 GlobalVariable::UnnamedAddr UnnamedAddr; in parseNamedGlobal() local 860 parseOptionalThreadLocal(TLM) || parseOptionalUnnamedAddr(UnnamedAddr)) in parseNamedGlobal() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCXX.cpp | 186 Alias->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in TryEmitBaseDestructorAsAlias()
|
H A D | CGVTT.cpp | 137 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GetAddrOfVTT()
|
H A D | CGVTables.cpp | 688 proxy->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in addRelativeComponent() 813 f->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in addVTableComponent() 966 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GenerateConstructionVTable()
|
H A D | MicrosoftCXXABI.cpp | 1907 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getAddrOfVTable() 1934 VFTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getAddrOfVTable() 2105 ThunkFn->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::None); in EmitVirtualMemPtrThunk() 2167 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getAddrOfVBTable() 4261 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getCatchableType() 4379 CTA->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getCatchableTypeArray() 4445 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in getThrowInfo()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTO.h | 371 bool UnnamedAddr = true; member
|
/freebsd/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTO.cpp | 630 GlobalRes.UnnamedAddr &= Sym.isUnnamedAddr(); in addModuleToGlobalRes() 1340 GV->setUnnamedAddr(R.second.UnnamedAddr ? GlobalValue::UnnamedAddr::Global in runRegularLTO() 1341 : GlobalValue::UnnamedAddr::None); in runRegularLTO()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 2071 case GlobalVariable::UnnamedAddr::None: in LLVMGetUnnamedAddress() 2073 case GlobalVariable::UnnamedAddr::Local: in LLVMGetUnnamedAddress() 2075 case GlobalVariable::UnnamedAddr::Global: in LLVMGetUnnamedAddress() 2081 void LLVMSetUnnamedAddress(LLVMValueRef Global, LLVMUnnamedAddr UnnamedAddr) { in LLVMSetUnnamedAddress() argument 2084 switch (UnnamedAddr) { in LLVMSetUnnamedAddress() 2086 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::None); in LLVMSetUnnamedAddress() 2088 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::Local); in LLVMSetUnnamedAddress() 2090 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::Global); in LLVMSetUnnamedAddress() 2100 HasUnnamedAddr ? GlobalValue::UnnamedAddr::Global in LLVMSetUnnamedAddr() 2101 : GlobalValue::UnnamedAddr::None); in LLVMSetUnnamedAddr()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1250 static GlobalVariable::UnnamedAddr getDecodedUnnamedAddrType(unsigned Val) { in getDecodedUnnamedAddrType() 1253 case 0: return GlobalVariable::UnnamedAddr::None; in getDecodedUnnamedAddrType() 1254 case 1: return GlobalVariable::UnnamedAddr::Global; in getDecodedUnnamedAddrType() 1255 case 2: return GlobalVariable::UnnamedAddr::Local; in getDecodedUnnamedAddrType() 4047 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None; in parseGlobalVarRecord() local 4049 UnnamedAddr = getDecodedUnnamedAddrType(Record[8]); in parseGlobalVarRecord() 4063 NewGV->setUnnamedAddr(UnnamedAddr); in parseGlobalVarRecord() 4241 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None; in parseFunctionRecord() local 4243 UnnamedAddr = getDecodedUnnamedAddrType(Record[9]); in parseFunctionRecord() 4244 Func->setUnnamedAddr(UnnamedAddr); in parseFunctionRecord()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 424 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Local); in emitTargetGlobals()
|