Home
last modified time | relevance | path

Searched refs:MDString (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDebugInfoMetadata.h136 if (auto *S = getOperandAs<MDString>(I)) in getStringOperand()
141 static MDString *getCanonicalMDString(LLVMContext &Context, StringRef S) { in getCanonicalMDString()
144 return MDString::get(Context, S); in getCanonicalMDString()
237 MDString *Header, ArrayRef<Metadata *> DwarfOps,
252 DEFINE_MDNODE_GET(GenericDINode, (unsigned Tag, MDString *Header,
261 MDString *getRawHeader() const { return getOperandAs<MDString>(0); } in getRawHeader()
367 bool IsUnsigned, MDString *Name,
377 DEFINE_MDNODE_GET(DIEnumerator, (int64_t Value, bool IsUnsigned, MDString *Name),
386 MDString *getRawName() const { return getOperandAs<MDString>(0); } in getRawName()
489 Optional<ChecksumInfo<MDString *>> Checksum;
[all …]
DMetadata.h604 class MDString : public Metadata {
605 friend class StringMapEntryStorage<MDString>;
607 StringMapEntry<MDString> *Entry = nullptr;
609 MDString() : Metadata(MDStringKind, Uniqued) {} in MDString() function
612 MDString(const MDString &) = delete;
613 MDString &operator=(MDString &&) = delete;
614 MDString &operator=(const MDString &) = delete;
616 static MDString *get(LLVMContext &Context, StringRef Str);
617 static MDString *get(LLVMContext &Context, const char *Str) { in get()
DMDBuilder.h32 class MDString; variable
42 MDString *createString(StringRef Str);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DProfileSummary.cpp29 Metadata *Ops[2] = {MDString::get(Context, Key), in getKeyValMD()
38 Metadata *Ops[2] = {MDString::get(Context, Key), MDString::get(Context, Val)}; in getKeyValMD()
58 Metadata *Ops[2] = {MDString::get(Context, "DetailedSummary"), in getDetailedSummaryMD()
89 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); in getVal()
103 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); in isKeyValuePair()
104 MDString *ValMD = dyn_cast<MDString>(MD->getOperand(1)); in isKeyValuePair()
116 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); in getSummaryFromMD()
DLLVMContextImpl.h307 MDString *Header;
309 MDNodeKeyImpl(unsigned Tag, MDString *Header, ArrayRef<Metadata *> DwarfOps)
359 MDString *Name;
362 MDNodeKeyImpl(int64_t Value, bool IsUnsigned, MDString *Name)
378 MDString *Name;
384 MDNodeKeyImpl(unsigned Tag, MDString *Name, uint64_t SizeInBits,
407 MDString *Name;
419 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *File, unsigned Line,
480 const MDString *Name, const DIDerivedType *RHS) {
497 MDString *Name;
[all …]
DDebugInfoMetadata.cpp257 static bool isCanonical(const MDString *S) { in isCanonical()
263 MDString *Header, in getImpl()
336 bool IsUnsigned, MDString *Name, in getImpl()
345 MDString *Name, uint64_t SizeInBits, in getImpl()
371 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, in getImpl()
388 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, in getImpl()
392 Metadata *TemplateParams, MDString *Identifier, Metadata *Discriminator, in getImpl()
410 LLVMContext &Context, MDString &Identifier, unsigned Tag, MDString *Name, in buildODRType()
445 LLVMContext &Context, MDString &Identifier, unsigned Tag, MDString *Name, in getODRType()
463 MDString &Identifier) { in getODRTypeIfExists()
[all …]
DIntrinsicInst.cpp109 if (!MD || !isa<MDString>(MD)) in getRoundingMode()
111 return StrToRoundingMode(cast<MDString>(MD)->getString()); in getRoundingMode()
119 if (!MD || !isa<MDString>(MD)) in getExceptionBehavior()
121 return StrToExceptionBehavior(cast<MDString>(MD)->getString()); in getExceptionBehavior()
128 if (!MD || !isa<MDString>(MD)) in getPredicate()
130 return StringSwitch<FCmpInst::Predicate>(cast<MDString>(MD)->getString()) in getPredicate()
DModule.cpp298 dyn_cast_or_null<MDString>(Flag->getOperand(1))) { in getModuleFlagsMetadata()
301 MDString *Key = cast<MDString>(Flag->getOperand(1)); in getModuleFlagsMetadata()
342 MDString::get(Context, Key), Val}; in addModuleFlag()
358 isa<MDString>(Node->getOperand(1)) && in addModuleFlag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600OpenCLImageTypeLoweringPass.cpp115 MDString *StringNode = dyn_cast<MDString>(ArgNode->getOperand(0)); in GetFunctionFromMDNode()
126 return cast<MDString>(ArgAQNode->getOperand(ArgIdx + 1))->getString(); in AccessQualFromMD()
132 return cast<MDString>(ArgTypeNode->getOperand(ArgIdx + 1))->getString(); in ArgTypeFromMD()
290 ArgMD[2] = ArgMD[3] = MDString::get(*Context, ImageSizeArgMDType); in addImplicitArgs()
295 ArgMD[2] = ArgMD[3] = MDString::get(*Context, ImageFormatArgMDType); in addImplicitArgs()
DAMDGPUHSAMetadataStreamer.cpp262 Printf.push_back(cast<MDString>(Op->getOperand(0))->getString()); in emitPrintf()
316 Name = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
323 TypeName = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
328 BaseTypeName = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
337 AccQual = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
343 TypeQual = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
673 cast<MDString>(Op->getOperand(0))->getString(), /*Copy=*/true)); in emitPrintf()
738 Name = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
745 TypeName = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
750 BaseTypeName = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DMisExpect.cpp99 auto *MisExpectDataName = dyn_cast<MDString>(MisExpectData->getOperand(0)); in verifyMisExpect()
162 if (MDString *Tag = cast<MDString>(MD->getOperand(0))) { in checkFrontendInstrumentation()
DLoopUtils.cpp203 MDString::get(Context, Name), in createStringMetadata()
221 MDString *S = dyn_cast<MDString>(Node->getOperand(0)); in addStringMetadataToLoop()
333 if (!isa<MDString>(NameMD)) in makeFollowupLoopID()
335 StringRef AttrName = cast<MDString>(NameMD)->getString(); in makeFollowupLoopID()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h586 class MDString : public Metadata {
587 friend class StringMapEntry<MDString>;
589 StringMapEntry<MDString> *Entry;
590 MDString() : Metadata(MDStringKind, Uniqued), Entry(nullptr) {} in MDString() function
593 MDString(const MDString &) = delete;
594 MDString &operator=(MDString &&) = delete;
595 MDString &operator=(const MDString &) = delete;
597 static MDString *get(LLVMContext &Context, StringRef Str);
598 static MDString *get(LLVMContext &Context, const char *Str) { in get()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp97 GlobalMD = MDString::get(M.getContext(), NewName); in promoteTypeIds()
326 Elts.push_back(MDString::get(Ctx, F.getName())); in splitAndWriteThinLTOBitcode()
355 MDString::get(Ctx, A.getName()), in splitAndWriteThinLTOBitcode()
356 MDString::get(Ctx, F->getName()), in splitAndWriteThinLTOBitcode()
379 Ctx, {MDString::get(Ctx, Name), MDString::get(Ctx, Alias)})); in splitAndWriteThinLTOBitcode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyAsmPrinter.cpp160 const MDString *Name = dyn_cast<MDString>(Tuple->getOperand(0)); in EmitEndOfAsmFile()
161 const MDString *Contents = dyn_cast<MDString>(Tuple->getOperand(1)); in EmitEndOfAsmFile()
196 const auto *S = cast<MDString>(Ident->getOperand(I)->getOperand(0)); in EmitProducerInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp125 SmallDenseMap<MDString *, TempMDTuple, 1> Unknown;
126 SmallDenseMap<MDString *, DICompositeType *, 1> Final;
127 SmallDenseMap<MDString *, DICompositeType *, 1> FwdDecls;
190 void addTypeRef(MDString &UUID, DICompositeType &CT);
306 void BitcodeReaderMetadataList::addTypeRef(MDString &UUID, in addTypeRef()
316 auto *UUID = dyn_cast_or_null<MDString>(MaybeUUID); in upgradeTypeRef()
439 MDString *lazyLoadOneMDString(unsigned Idx);
975 MDString *MetadataLoader::MetadataLoaderImpl::lazyLoadOneMDString(unsigned ID) { in lazyLoadOneMDString()
978 return cast<MDString>(MD); in lazyLoadOneMDString()
979 auto MDS = MDString::get(Context, MDStringRef[ID]); in lazyLoadOneMDString()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVTargetMachine.cpp94 if (const MDString *ModuleTargetABI = dyn_cast_or_null<MDString>( in getSubtargetImpl()
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
Dmetadata.hpp66 return ::llvm::cast< ::llvm::MDString>( in get_str_kernel_metadata()
158 return ::llvm::cast< ::llvm::MDString>(operands[arg.getArgNo()]) in get_str_argument_metadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCFGPrinter.h160 MDString *MDName = cast<MDString>(WeightsNode->getOperand(0));
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder.cpp121 MDNode* N = MDNode::get(JM()->mContext, MDString::get(JM()->mContext, "is_temp_alloca")); in SetTempAlloca()
139 MDNode* N = MDNode::get(JM()->mContext, MDString::get(JM()->mContext, mdName)); in SetNamedMetaDataOnCallInstr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp530 MDNode::get(Context, MDString::get(Context, "llvm.loop.unroll.disable")); in setLoopAlreadyUnrolled()
991 MDString *S = dyn_cast<MDString>(MD->getOperand(0)); in findOptionMDForLoopID()
1029 const MDString *S = dyn_cast<MDString>(MD->getOperand(0)); in makePostTransformationMetadata()
DTypeBasedAliasAnalysis.cpp457 if (MDString *Tag1 = dyn_cast<MDString>(getOperand(0))) { in isTBAAVtableAccess()
467 if(auto *Id = dyn_cast<MDString>(AccessType.getId())) in isTBAAVtableAccess()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp54 const MDString *prop = dyn_cast<MDString>(md->getOperand(i)); in cacheAnnotationFromMD()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp98 {MDString::get(Context, "llvm.loop.isvectorized"), in setAlreadyVectorized()
191 const MDString *S = nullptr; in getHintsFromMetadata()
199 S = dyn_cast<MDString>(MD->getOperand(0)); in getHintsFromMetadata()
203 S = dyn_cast<MDString>(LoopID->getOperand(i)); in getHintsFromMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp536 MDString *NotesFile = dyn_cast<MDString>(N->getOperand(0)); in mangleName()
537 MDString *DataFile = dyn_cast<MDString>(N->getOperand(1)); in mangleName()
543 MDString *GCovFile = dyn_cast<MDString>(N->getOperand(0)); in mangleName()

1234