/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DebugInfoMetadata.h | 136 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 …]
|
D | Metadata.h | 604 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()
|
D | MDBuilder.h | 32 class MDString; variable 42 MDString *createString(StringRef Str);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ProfileSummary.cpp | 29 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()
|
D | LLVMContextImpl.h | 307 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 …]
|
D | DebugInfoMetadata.cpp | 257 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 …]
|
D | IntrinsicInst.cpp | 109 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()
|
D | Module.cpp | 298 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/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 115 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()
|
D | AMDGPUHSAMetadataStreamer.cpp | 262 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/ |
D | MisExpect.cpp | 99 auto *MisExpectDataName = dyn_cast<MDString>(MisExpectData->getOperand(0)); in verifyMisExpect() 162 if (MDString *Tag = cast<MDString>(MD->getOperand(0))) { in checkFrontendInstrumentation()
|
D | LoopUtils.cpp | 203 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/ |
D | Metadata.h | 586 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/ |
D | ThinLTOBitcodeWriter.cpp | 97 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/ |
D | WebAssemblyAsmPrinter.cpp | 160 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/ |
D | MetadataLoader.cpp | 125 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/ |
D | RISCVTargetMachine.cpp | 94 if (const MDString *ModuleTargetABI = dyn_cast_or_null<MDString>( in getSubtargetImpl()
|
/third_party/mesa3d/src/gallium/frontends/clover/llvm/ |
D | metadata.hpp | 66 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/ |
D | CFGPrinter.h | 160 MDString *MDName = cast<MDString>(WeightsNode->getOperand(0));
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder.cpp | 121 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/ |
D | LoopInfo.cpp | 530 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()
|
D | TypeBasedAliasAnalysis.cpp | 457 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/ |
D | NVPTXUtilities.cpp | 54 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/ |
D | LoopVectorizationLegality.cpp | 98 {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/ |
D | GCOVProfiling.cpp | 536 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()
|