Home
last modified time | relevance | path

Searched refs:UnnamedAddr (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h84 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 DJMCInstrumenter.cpp142 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 DMachineOutliner.cpp709 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createOutlinedFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h287 bool parseOptionalUnnamedAddr(GlobalVariable::UnnamedAddr &UnnamedAddr);
362 GlobalVariable::UnnamedAddr UnnamedAddr);
367 GlobalVariable::UnnamedAddr UnnamedAddr);
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp371 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 DInstrumentation.cpp67 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createPrivateGlobalForString()
H A DGCOVProfiling.cpp995 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 DAArch64GlobalsTagging.cpp120 G->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in runOnModule()
H A DAArch64LowerHomogeneousPrologEpilog.cpp173 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createFrameHelperMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculation.cpp96 SpeculatorGuard->setUnnamedAddr(GlobalValue::UnnamedAddr::Local); in emit()
H A DIndirectionUtils.cpp301 GV.setUnnamedAddr(GlobalValue::UnnamedAddr::None); in operator ()()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DUtility.cpp50 Str->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in getOffloadingEntryInitializer()
H A DOffloadWrapper.cpp132 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 DConstantMerge.cpp111 New->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in makeMergeable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp125 RelLookupTable->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createRelLookupTable()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp782 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 DCGCXX.cpp186 Alias->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in TryEmitBaseDestructorAsAlias()
H A DCGVTT.cpp137 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in GetAddrOfVTT()
H A DCGVTables.cpp688 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 DMicrosoftCXXABI.cpp1907 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 DLTO.h371 bool UnnamedAddr = true; member
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp630 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 DCore.cpp2071 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 DBitcodeReader.cpp1250 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 DAMDGPU.cpp424 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Local); in emitTargetGlobals()

12