Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalValue.h81 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGlobalValue.h80 UnnamedAddrVal(unsigned(UnnamedAddr::None)), in GlobalValue()
197 enum class UnnamedAddr { enum
204 return getUnnamedAddr() == UnnamedAddr::Global; in hasGlobalUnnamedAddr()
213 return getUnnamedAddr() != UnnamedAddr::None; in hasAtLeastLocalUnnamedAddr()
216 UnnamedAddr getUnnamedAddr() const { in getUnnamedAddr()
217 return UnnamedAddr(UnnamedAddrVal); in getUnnamedAddr()
219 void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } in setUnnamedAddr()
221 static UnnamedAddr getMinUnnamedAddr(UnnamedAddr A, UnnamedAddr B) { in getMinUnnamedAddr()
222 if (A == UnnamedAddr::None || B == UnnamedAddr::None) in getMinUnnamedAddr()
223 return UnnamedAddr::None; in getMinUnnamedAddr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.h269 bool ParseOptionalUnnamedAddr(GlobalVariable::UnnamedAddr &UnnamedAddr);
327 GlobalVariable::UnnamedAddr UnnamedAddr);
332 GlobalVariable::UnnamedAddr UnnamedAddr);
DLLParser.cpp531 GlobalVariable::UnnamedAddr &UnnamedAddr) { in ParseOptionalUnnamedAddr() argument
533 UnnamedAddr = GlobalValue::UnnamedAddr::Global; in ParseOptionalUnnamedAddr()
535 UnnamedAddr = GlobalValue::UnnamedAddr::Local; in ParseOptionalUnnamedAddr()
537 UnnamedAddr = GlobalValue::UnnamedAddr::None; in ParseOptionalUnnamedAddr()
570 GlobalVariable::UnnamedAddr UnnamedAddr; in ParseUnnamedGlobal() local
573 ParseOptionalThreadLocal(TLM) || ParseOptionalUnnamedAddr(UnnamedAddr)) in ParseUnnamedGlobal()
578 DLLStorageClass, DSOLocal, TLM, UnnamedAddr); in ParseUnnamedGlobal()
581 DLLStorageClass, DSOLocal, TLM, UnnamedAddr); in ParseUnnamedGlobal()
599 GlobalVariable::UnnamedAddr UnnamedAddr; in ParseNamedGlobal() local
603 ParseOptionalThreadLocal(TLM) || ParseOptionalUnnamedAddr(UnnamedAddr)) in ParseNamedGlobal()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DLinkModules.cpp366 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::getMinUnnamedAddr( in linkIfNeeded() local
368 DGV->setUnnamedAddr(UnnamedAddr); in linkIfNeeded()
369 GV.setUnnamedAddr(UnnamedAddr); in linkIfNeeded()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrumentation.cpp70 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createPrivateGlobalForString()
DGCOVProfiling.cpp861 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in emitProfileArcs()
951 WriteoutF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout()
1045 GlobalValue::UnnamedAddr::Global); in insertCounterWriteout()
1051 EmitArcsCallArgsArrayGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout()
1084 FileInfoArrayGV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout()
1202 FlushF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertFlush()
DInstrProfiling.cpp953 RegisterF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in emitRegistration()
1038 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in emitInitialization()
DHWAddressSanitizer.cpp1260 NewGV->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in instrumentGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DSpeculation.cpp100 SpeculatorGuard->setUnnamedAddr(GlobalValue::UnnamedAddr::Local); in emit()
DIndirectionUtils.cpp280 GV.setUnnamedAddr(GlobalValue::UnnamedAddr::None); in operator ()()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DConstantMerge.cpp112 New->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in makeMergeable()
DMergeFunctions.cpp777 GA->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in writeAlias()
DGlobalOpt.cpp2091 auto NewUnnamedAddr = GV.hasLocalLinkage() ? GlobalValue::UnnamedAddr::Global in processGlobal()
2092 : GlobalValue::UnnamedAddr::Local; in processGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTO.cpp511 GlobalRes.UnnamedAddr &= Sym.isUnnamedAddr(); in addModuleToGlobalRes()
1003 GV->setUnnamedAddr(R.second.UnnamedAddr ? GlobalValue::UnnamedAddr::Global in runRegularLTO()
1004 : GlobalValue::UnnamedAddr::None); in runRegularLTO()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DLTO.h360 bool UnnamedAddr = true; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1030 static GlobalVariable::UnnamedAddr getDecodedUnnamedAddrType(unsigned Val) { in getDecodedUnnamedAddrType()
1033 case 0: return GlobalVariable::UnnamedAddr::None; in getDecodedUnnamedAddrType()
1034 case 1: return GlobalVariable::UnnamedAddr::Global; in getDecodedUnnamedAddrType()
1035 case 2: return GlobalVariable::UnnamedAddr::Local; in getDecodedUnnamedAddrType()
3136 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None; in parseGlobalVarRecord() local
3138 UnnamedAddr = getDecodedUnnamedAddrType(Record[8]); in parseGlobalVarRecord()
3151 NewGV->setUnnamedAddr(UnnamedAddr); in parseGlobalVarRecord()
3266 GlobalValue::UnnamedAddr UnnamedAddr = GlobalValue::UnnamedAddr::None; in parseFunctionRecord() local
3268 UnnamedAddr = getDecodedUnnamedAddrType(Record[9]); in parseFunctionRecord()
3269 Func->setUnnamedAddr(UnnamedAddr); in parseFunctionRecord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp1954 case GlobalVariable::UnnamedAddr::None: in LLVMGetUnnamedAddress()
1956 case GlobalVariable::UnnamedAddr::Local: in LLVMGetUnnamedAddress()
1958 case GlobalVariable::UnnamedAddr::Global: in LLVMGetUnnamedAddress()
1964 void LLVMSetUnnamedAddress(LLVMValueRef Global, LLVMUnnamedAddr UnnamedAddr) { in LLVMSetUnnamedAddress() argument
1967 switch (UnnamedAddr) { in LLVMSetUnnamedAddress()
1969 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::None); in LLVMSetUnnamedAddress()
1971 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::Local); in LLVMSetUnnamedAddress()
1973 return GV->setUnnamedAddr(GlobalVariable::UnnamedAddr::Global); in LLVMSetUnnamedAddress()
1983 HasUnnamedAddr ? GlobalValue::UnnamedAddr::Global in LLVMSetUnnamedAddr()
1984 : GlobalValue::UnnamedAddr::None); in LLVMSetUnnamedAddr()
DAsmWriter.cpp3242 static StringRef getUnnamedAddrEncoding(GlobalVariable::UnnamedAddr UA) { in getUnnamedAddrEncoding()
3244 case GlobalVariable::UnnamedAddr::None: in getUnnamedAddrEncoding()
3246 case GlobalVariable::UnnamedAddr::Local: in getUnnamedAddrEncoding()
3248 case GlobalVariable::UnnamedAddr::Global: in getUnnamedAddrEncoding()
DIRBuilder.cpp51 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in CreateGlobalString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp120 DefaultIdent->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in getOrCreateIdent()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp805 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in handleAlloca()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOutliner.cpp1111 F->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createOutlinedFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1082 case GlobalValue::UnnamedAddr::None: return 0; in getEncodedUnnamedAddr()
1083 case GlobalValue::UnnamedAddr::Local: return 2; in getEncodedUnnamedAddr()
1084 case GlobalValue::UnnamedAddr::Global: return 1; in getEncodedUnnamedAddr()
1281 GV.getUnnamedAddr() != GlobalValue::UnnamedAddr::None || in writeModuleInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp966 GV->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); // Ok to merge these. in processLoopStridedStore()

12