Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp75 GlobalValue::GUID GlobalValue::getGUID(StringRef GlobalName) { in getGUID() argument
76 return MD5Hash(GlobalName); in getGUID()
161 std::string GlobalName; in getGlobalIdentifier() local
168 GlobalName += "<unknown>"; in getGlobalIdentifier()
170 GlobalName += FileName; in getGlobalIdentifier()
172 GlobalName += GlobalIdentifierDelimiter; in getGlobalIdentifier()
174 GlobalName += Name; in getGlobalIdentifier()
175 return GlobalName; in getGlobalIdentifier()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DNoSanitizeList.cpp30 bool NoSanitizeList::containsGlobal(SanitizerMask Mask, StringRef GlobalName, in containsGlobal() argument
32 return SSCL->inSection(Mask, "global", GlobalName, Category); in containsGlobal()
/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.cpp145 static bool createInitOrFiniKernel(Module &M, StringRef GlobalName,
147 GlobalVariable *GV = M.getGlobalVariable(GlobalName);
114 createInitOrFiniKernel(Module & M,StringRef GlobalName,bool IsCtor) createInitOrFiniKernel() argument
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DNoSanitizeList.h37 bool containsGlobal(SanitizerMask Mask, StringRef GlobalName,
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXCtorDtorLowering.cpp246 static bool createInitOrFiniKernel(Module &M, StringRef GlobalName, in createInitOrFiniKernel() argument
248 GlobalVariable *GV = M.getGlobalVariable(GlobalName); in createInitOrFiniKernel()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h139 void addWasmRelocBaseGlobal(DIELoc *Loc, StringRef GlobalName,
H A DDwarfCompileUnit.cpp481 void DwarfCompileUnit::addWasmRelocBaseGlobal(DIELoc *Loc, StringRef GlobalName, in addWasmRelocBaseGlobal() argument
487 auto *Sym = cast<MCSymbolWasm>(Asm->GetExternalSymbolSymbol(GlobalName)); in addWasmRelocBaseGlobal()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h591 static GUID getGUID(StringRef GlobalName);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.h1130 const char *GlobalName = nullptr);
1759 void EmitCtorList(CtorList &Fns, const char *GlobalName);
H A DCodeGenModule.cpp2085 void CodeGenModule::EmitCtorList(CtorList &Fns, const char *GlobalName) { in EmitCtorList() argument
2112 ctors.finishAndCreateGlobal(GlobalName, getPointerAlign(), in EmitCtorList()
6466 CodeGenModule &CGM, StringRef GlobalName, in GenerateStringLiteral() argument
6474 M, C->getType(), !CGM.getLangOpts().WritableStrings, LT, C, GlobalName, in GenerateStringLiteral()
6554 const std::string &Str, const char *GlobalName) { in GetAddrOfConstantCString() argument
6575 if (!GlobalName) in GetAddrOfConstantCString()
6576 GlobalName = ".str"; in GetAddrOfConstantCString()
6579 GlobalName, Alignment); in GetAddrOfConstantCString()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h573 bool parseOptionalComdat(StringRef GlobalName, Comdat *&C);
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4460 bool LLParser::parseOptionalComdat(StringRef GlobalName, Comdat *&C) { in parseOptionalComdat() argument
4475 if (GlobalName.empty()) in parseOptionalComdat()
4477 C = getComdat(std::string(GlobalName), KwLoc); in parseOptionalComdat()