|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Metadata.h 615 static MDString *get(LLVMContext &Context, StringRef Str);
References
include/llvm/IR/DebugInfoMetadata.h 144 return MDString::get(Context, S);
3122 return MDString::get(Context, S);
include/llvm/IR/IRBuilder.h 1111 auto *RoundingMDS = MDString::get(Context, RoundingStr.getValue());
1127 auto *ExceptMDS = MDString::get(Context, ExceptStr.getValue());
include/llvm/IR/Metadata.h 617 return get(Context, Str ? StringRef(Str) : StringRef());
lib/AsmParser/LLParser.cpp 669 Result = MDString::get(Context, Str);
4305 Result.assign(S.empty() ? nullptr : MDString::get(Context, S));
lib/Bitcode/Reader/MetadataLoader.cpp 979 auto MDS = MDString::get(Context, MDStringRef[ID]);
1884 Metadata *MD = MDString::get(Context, String);
1892 MetadataList.assignValue(MDString::get(Context, Str), NextMetadataNo);
lib/IR/AutoUpgrade.cpp 3848 ID = MDString::get(M.getContext(), NewValue);
4006 MDString::get(M.getContext(), ID->getString()),
4025 MDString::get(M.getContext(), NewValue)};
4095 return MDString::get(
lib/IR/Core.cpp 1050 return wrap(MDString::get(*unwrap(C), StringRef(Str, SLen)));
1062 Context, MDString::get(Context, StringRef(Str, SLen))));
lib/IR/DIBuilder.cpp 432 MDString::get(VMContext, Val));
lib/IR/MDBuilder.cpp 21 return MDString::get(Context, Str);
lib/IR/Module.cpp 342 MDString::get(Context, Key), Val};
lib/ProfileData/InstrProf.cpp 1040 MDNode *N = MDNode::get(C, MDString::get(C, PGOFuncName));
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 335 MDString *fmtStrArray = MDString::get(Ctx, fmtstr);
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp 290 ArgMD[2] = ArgMD[3] = MDString::get(*Context, ImageSizeArgMDType);
295 ArgMD[2] = ArgMD[3] = MDString::get(*Context, ImageFormatArgMDType);
lib/Transforms/IPO/FunctionImport.cpp 1123 {MDString::get(DestModule.getContext(),
1167 {MDString::get(DestModule.getContext(),
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 96 GlobalMD = MDString::get(M.getContext(), NewName);
325 Elts.push_back(MDString::get(Ctx, F.getName()));
354 MDString::get(Ctx, A.getName()),
355 MDString::get(Ctx, F->getName()),
378 Ctx, {MDString::get(Ctx, Name), MDString::get(Ctx, Alias)}));
378 Ctx, {MDString::get(Ctx, Name), MDString::get(Ctx, Alias)}));
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1024 MDNode *MD = MDNode::get(*C, {MDString::get(*C, Name)});
lib/Transforms/Utils/LoopUtils.cpp 203 MDString::get(Context, Name),
tools/clang/lib/CodeGen/CGBuiltin.cpp 3123 Strings.push_back(llvm::MDString::get(getLLVMContext(), StrUtf8));
5929 llvm::Metadata *Ops[] = { llvm::MDString::get(Context, SysReg) };
7255 llvm::Metadata *Ops[] = {llvm::MDString::get(Context, Reg)};
7428 llvm::Metadata *Ops[] = { llvm::MDString::get(Context, SysRegStr) };
tools/clang/lib/CodeGen/CGExpr.cpp 2450 llvm::MDString *Str = llvm::MDString::get(CGM.getLLVMContext(),
tools/clang/lib/CodeGen/CGObjC.cpp 2184 auto *str = llvm::MDString::get(CGF.getLLVMContext(), assembly);
tools/clang/lib/CodeGen/CGObjCGNU.cpp 2597 llvm::MDString::get(VMContext, Sel.getAsString()),
2598 llvm::MDString::get(VMContext, Class->getSuperClass()->getNameAsString()),
2673 llvm::MDString::get(VMContext, Sel.getAsString()),
2674 llvm::MDString::get(VMContext, Class ? Class->getNameAsString() : ""),
tools/clang/lib/CodeGen/CGObjCMac.cpp 4983 llvm::MDString::get(VMContext, Section));
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 4076 auto &&GetMDString = [&C](StringRef V) { return llvm::MDString::get(C, V); };
tools/clang/lib/CodeGen/CodeGenModule.cpp 1315 argTypeNames.push_back(llvm::MDString::get(VMContext, typeName));
1328 llvm::MDString::get(VMContext, baseTypeName));
1382 argTypeNames.push_back(llvm::MDString::get(VMContext, typeName));
1390 llvm::MDString::get(VMContext, baseTypeName));
1396 argTypeQuals.push_back(llvm::MDString::get(VMContext, typeQuals));
1414 argNames.push_back(llvm::MDString::get(VMContext, parm->getName()));
1929 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opts);
1936 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opt);
1944 llvm::MDNode::get(C, llvm::MDString::get(C, Lib)));
1950 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opt);
1986 llvm::MDString::get(Context, Mod->LinkLibraries[I - 1].Library)};
1996 llvm::MDString::get(Context, Mod->LinkLibraries[I - 1].Library),
2003 auto *OptString = llvm::MDString::get(Context, Opt);
5652 llvm::Metadata *IdentNode[] = {llvm::MDString::get(Ctx, Version)};
5662 llvm::Metadata *CommandLineNode[] = {llvm::MDString::get(Ctx, CommandLine)};
5693 llvm::MDString::get(Ctx, getCodeGenOpts().CoverageDataFile);
5695 llvm::MDString::get(Ctx, getCodeGenOpts().CoverageNotesFile);
5776 InternalId = llvm::MDString::get(getLLVMContext(), Out.str());
tools/clang/lib/CodeGen/SanitizerMetadata.cpp 46 GlobalName = llvm::MDString::get(VMContext, Name);
tools/clang/lib/CodeGen/TargetInfo.cpp 6523 llvm::ConstantAsMetadata::get(F), llvm::MDString::get(Ctx, Name),
8874 llvm::MDString::get(Ctx, Enc.str())};
9952 llvm::MDString::get(C, (Twine("local_arg") + Twine(I)).str()));
unittests/IR/MetadataTest.cpp 131 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3));
133 MDString *s2 = MDString::get(Context, StringRef(&x[0], 3));
143 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3));
144 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3));
151 MDString *s = MDString::get(Context, StringRef(&str[0], 13));
163 MDString *s = MDString::get(Context, StringRef(str+0, 5));
177 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3));
178 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3));
1101 EXPECT_EQ(MDString::get(Context, Header), N->getOperand(0));