|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/GlobalValue.h 80 UnnamedAddrVal(unsigned(UnnamedAddr::None)),
204 return getUnnamedAddr() == UnnamedAddr::Global;
213 return getUnnamedAddr() != UnnamedAddr::None;
216 UnnamedAddr getUnnamedAddr() const {
219 void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); }
221 static UnnamedAddr getMinUnnamedAddr(UnnamedAddr A, UnnamedAddr B) {
221 static UnnamedAddr getMinUnnamedAddr(UnnamedAddr A, UnnamedAddr B) {
221 static UnnamedAddr getMinUnnamedAddr(UnnamedAddr A, UnnamedAddr B) {
222 if (A == UnnamedAddr::None || B == UnnamedAddr::None)
222 if (A == UnnamedAddr::None || B == UnnamedAddr::None)
223 return UnnamedAddr::None;
224 if (A == UnnamedAddr::Local || B == UnnamedAddr::Local)
224 if (A == UnnamedAddr::Local || B == UnnamedAddr::Local)
225 return UnnamedAddr::Local;
226 return UnnamedAddr::Global;
lib/AsmParser/LLParser.cpp 531 GlobalVariable::UnnamedAddr &UnnamedAddr) {
533 UnnamedAddr = GlobalValue::UnnamedAddr::Global;
535 UnnamedAddr = GlobalValue::UnnamedAddr::Local;
537 UnnamedAddr = GlobalValue::UnnamedAddr::None;
570 GlobalVariable::UnnamedAddr UnnamedAddr;
599 GlobalVariable::UnnamedAddr UnnamedAddr;
876 GlobalVariable::UnnamedAddr UnnamedAddr) {
1030 GlobalVariable::UnnamedAddr UnnamedAddr) {
5381 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None;
5381 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None;
lib/AsmParser/LLParser.h 269 bool ParseOptionalUnnamedAddr(GlobalVariable::UnnamedAddr &UnnamedAddr);
327 GlobalVariable::UnnamedAddr UnnamedAddr);
332 GlobalVariable::UnnamedAddr UnnamedAddr);
lib/Bitcode/Reader/BitcodeReader.cpp 1029 static GlobalVariable::UnnamedAddr getDecodedUnnamedAddrType(unsigned Val) {
1032 case 0: return GlobalVariable::UnnamedAddr::None;
1033 case 1: return GlobalVariable::UnnamedAddr::Global;
1034 case 2: return GlobalVariable::UnnamedAddr::Local;
3134 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None;
3134 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None;
3264 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None;
3264 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None;
lib/Bitcode/Writer/BitcodeWriter.cpp 1080 case GlobalValue::UnnamedAddr::None: return 0;
1081 case GlobalValue::UnnamedAddr::Local: return 2;
1082 case GlobalValue::UnnamedAddr::Global: return 1;
1279 GV.getUnnamedAddr() != GlobalValue::UnnamedAddr::None ||
lib/CodeGen/MachineOutliner.cpp 1106 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
lib/ExecutionEngine/Orc/IndirectionUtils.cpp 277 GV.setUnnamedAddr(GlobalValue::UnnamedAddr::None);
lib/ExecutionEngine/Orc/Speculation.cpp 100 SpeculatorGuard->setUnnamedAddr(GlobalValue::UnnamedAddr::Local);
lib/IR/AsmWriter.cpp 3232 static StringRef getUnnamedAddrEncoding(GlobalVariable::UnnamedAddr UA) {
3234 case GlobalVariable::UnnamedAddr::None:
3236 case GlobalVariable::UnnamedAddr::Local:
3238 case GlobalVariable::UnnamedAddr::Global:
lib/IR/Core.cpp 1954 case GlobalVariable::UnnamedAddr::None:
1956 case GlobalVariable::UnnamedAddr::Local:
1958 case GlobalVariable::UnnamedAddr::Global:
1969 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::None);
1971 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::Local);
1973 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::Global);
1983 HasUnnamedAddr ? GlobalValue::UnnamedAddr::Global
1984 : GlobalValue::UnnamedAddr::None);
lib/IR/IRBuilder.cpp 51 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
lib/LTO/LTO.cpp 1001 GV->setUnnamedAddr(R.second.UnnamedAddr ? GlobalValue::UnnamedAddr::Global
1002 : GlobalValue::UnnamedAddr::None);
lib/Linker/LinkModules.cpp 366 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::getMinUnnamedAddr(
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 803 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
lib/Transforms/Coroutines/CoroSplit.cpp 657 auto savedUnnamedAddr = NewF->getUnnamedAddr();
lib/Transforms/IPO/ConstantMerge.cpp 111 New->setUnnamedAddr(GlobalValue::UnnamedAddr::None);
lib/Transforms/IPO/GlobalOpt.cpp 2078 auto NewUnnamedAddr = GV.hasLocalLinkage() ? GlobalValue::UnnamedAddr::Global
2078 auto NewUnnamedAddr = GV.hasLocalLinkage() ? GlobalValue::UnnamedAddr::Global
2079 : GlobalValue::UnnamedAddr::Local;
lib/Transforms/IPO/MergeFunctions.cpp 775 GA->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1261 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
2298 NewGlobal->setUnnamedAddr(GlobalValue::UnnamedAddr::None);
lib/Transforms/Instrumentation/GCOVProfiling.cpp 857 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
947 WriteoutF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
1041 GlobalValue::UnnamedAddr::Global);
1047 EmitArcsCallArgsArrayGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
1080 FileInfoArrayGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
1198 FlushF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1279 NewGV->setUnnamedAddr(GlobalValue::UnnamedAddr::None);
lib/Transforms/Instrumentation/InstrProfiling.cpp 952 RegisterF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
1037 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
lib/Transforms/Instrumentation/Instrumentation.cpp 70 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 1025 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); // Ok to merge these.
lib/Transforms/Utils/SimplifyCFG.cpp 5085 Array->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGBlocks.cpp 280 global->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
1978 Fn->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGCUDANV.cpp 93 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::None);
tools/clang/lib/CodeGen/CGCXX.cpp 187 Alias->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGDecl.cpp 1118 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGExpr.cpp 2825 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
3077 InfoPtr->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
3138 InfoPtr->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGObjCGNU.cpp 1064 Buffer->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGObjCMac.cpp 2018 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
4064 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1593 llvm::GlobalValue::UnnamedAddr::Global);
4030 Str->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
8612 SizesArrayGbl->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
8628 MapTypesArrayGbl->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2225 UseSharedMemory->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
2239 RecSize->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGStmt.cpp 1059 SLocPtr->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGVTT.cpp 125 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CGVTables.cpp 684 f->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
795 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/CodeGenModule.cpp 1851 F->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
1854 F->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
2184 gv->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
4738 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
4897 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 1767 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
3937 Alias->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1809 VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
1838 VFTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
2005 ThunkFn->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::None);
2064 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
4078 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
4196 CTA->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
4265 GV->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp 209 Image->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);
231 Images->setUnnamedAddr(GlobalValue::UnnamedAddr::Global);