Home
last modified time | relevance | path

Searched refs:GlobalName (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DNoSanitizeList.cpp45 bool NoSanitizeList::containsGlobal(SanitizerMask Mask, StringRef GlobalName, in containsGlobal() argument
47 return containsPrefix(Mask, "global", GlobalName, Category); in containsGlobal()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp169 std::string GlobalName; in getGlobalIdentifier() local
176 GlobalName += "<unknown>"; in getGlobalIdentifier()
178 GlobalName += FileName; in getGlobalIdentifier()
180 GlobalName += GlobalIdentifierDelimiter; in getGlobalIdentifier()
182 GlobalName += Name; in getGlobalIdentifier()
183 return GlobalName; in getGlobalIdentifier()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp246 static void SplitStaticCtorDtor(const char *GlobalName, Module *M1, Module *M2, in SplitStaticCtorDtor() argument
248 GlobalVariable *GV = M1->getNamedGlobal(GlobalName); in SplitStaticCtorDtor()
289 GlobalValue::AppendingLinkage, M1Init, GlobalName); in SplitStaticCtorDtor()
292 GV = M2->getNamedGlobal(GlobalName); in SplitStaticCtorDtor()
300 GlobalValue::AppendingLinkage, M2Init, GlobalName); in SplitStaticCtorDtor()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp147 static bool createInitOrFiniKernel(Module &M, StringRef GlobalName, in createInitOrFiniKernel() argument
149 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DNoSanitizeList.h39 bool containsGlobal(SanitizerMask Mask, StringRef GlobalName,
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXCtorDtorLowering.cpp214 static bool createInitOrFiniKernel(Module &M, StringRef GlobalName, in createInitOrFiniKernel() argument
216 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h143 void addWasmRelocBaseGlobal(DIELoc *Loc, StringRef GlobalName,
H A DDwarfCompileUnit.cpp505 void DwarfCompileUnit::addWasmRelocBaseGlobal(DIELoc *Loc, StringRef GlobalName, in addWasmRelocBaseGlobal() argument
511 auto *Sym = cast<MCSymbolWasm>(Asm->GetExternalSymbolSymbol(GlobalName)); in addWasmRelocBaseGlobal()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp613 std::string GlobalName(Str + ".str"); in initializeBufferFromBinding() local
614 Name = CGM.GetAddrOfConstantCString(Str, GlobalName.c_str()).getPointer(); in initializeBufferFromBinding()
H A DCodeGenModule.h1190 const char *GlobalName = nullptr);
1905 void EmitCtorList(CtorList &Fns, const char *GlobalName);
H A DCodeGenModule.cpp2267 void CodeGenModule::EmitCtorList(CtorList &Fns, const char *GlobalName) { in EmitCtorList() argument
2310 auto List = Ctors.finishAndCreateGlobal(GlobalName, getPointerAlign(), in EmitCtorList()
6791 CodeGenModule &CGM, StringRef GlobalName, in GenerateStringLiteral() argument
6799 M, C->getType(), !CGM.getLangOpts().WritableStrings, LT, C, GlobalName, in GenerateStringLiteral()
6879 const std::string &Str, const char *GlobalName) { in GetAddrOfConstantCString() argument
6900 if (!GlobalName) in GetAddrOfConstantCString()
6901 GlobalName = ".str"; in GetAddrOfConstantCString()
6904 GlobalName, Alignment); in GetAddrOfConstantCString()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h596 LLVM_ABI static GUID getGUIDAssumingExternalLinkage(StringRef GlobalName);
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h576 bool parseOptionalComdat(StringRef GlobalName, Comdat *&C);
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4561 bool LLParser::parseOptionalComdat(StringRef GlobalName, Comdat *&C) { in parseOptionalComdat() argument
4576 if (GlobalName.empty()) in parseOptionalComdat()
4578 C = getComdat(std::string(GlobalName), KwLoc); in parseOptionalComdat()