/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ProfileSummary.cpp | 30 ConstantAsMetadata::get(ConstantInt::get(Int64Ty, Val))}; in getKeyValMD() 53 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Entry.Cutoff)), in getDetailedSummaryMD() 54 ConstantAsMetadata::get(ConstantInt::get(Int64Ty, Entry.MinCount)), in getDetailedSummaryMD() 55 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Entry.NumCounts))}; in getDetailedSummaryMD() 90 ConstantAsMetadata *ValMD = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getVal() 126 ConstantAsMetadata *Op0 = in getSummaryFromMD() 127 dyn_cast<ConstantAsMetadata>(EntryMD->getOperand(0)); in getSummaryFromMD() 128 ConstantAsMetadata *Op1 = in getSummaryFromMD() 129 dyn_cast<ConstantAsMetadata>(EntryMD->getOperand(1)); in getSummaryFromMD() 130 ConstantAsMetadata *Op2 = in getSummaryFromMD() [all …]
|
D | AbstractCallSite.cpp | 48 auto *CBCalleeIdxAsCM = cast<ConstantAsMetadata>(OpMD->getOperand(0)); in getCallbackUses() 104 auto *CBCalleeIdxAsCM = cast<ConstantAsMetadata>(OpMD->getOperand(0)); in AbstractCallSite() 127 auto *OpAsCM = cast<ConstantAsMetadata>(OpAsM); in AbstractCallSite() 143 auto *VarArgFlagAsCM = cast<ConstantAsMetadata>(VarArgFlagAsM); in AbstractCallSite()
|
D | Module.cpp | 341 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Behavior)), in addModuleFlag() 347 addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val)); in addModuleFlag() 471 cast_or_null<ConstantAsMetadata>(getModuleFlag("NumRegisterParameters")); in getNumberRegisterParameters() 478 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); in getDwarfVersion() 485 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); in getCodeViewFlag() 505 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); in getPICLevel() 519 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level")); in getPIELevel() 533 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Code Model")); in getCodeModel() 567 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("RtLibUseGOT")); in getRtLibUseGOT() 590 auto *CM = dyn_cast_or_null<ConstantAsMetadata>(getModuleFlag("SDK Version")); in getSDKVersion()
|
D | MDBuilder.cpp | 24 ConstantAsMetadata *MDBuilder::createConstant(Constant *C) { in createConstant() 25 return ConstantAsMetadata::get(C); in createConstant() 129 auto *NewCBCalleeIdxAsCM = cast<ConstantAsMetadata>(NewCB->getOperand(0)); in mergeCallbackEncodings() 141 auto *OldCBCalleeIdxAsCM = cast<ConstantAsMetadata>(Ops[u]); in mergeCallbackEncodings()
|
D | Metadata.cpp | 98 if (auto *C = dyn_cast<ConstantAsMetadata>(N->getOperand(0))) in canonicalizeMetadataForValue() 359 Entry = new ConstantAsMetadata(C); in get() 416 MD->replaceAllUsesWith(ConstantAsMetadata::get(C)); in handleRAUW() 717 if (New == this || (!New && Old && isa<ConstantAsMetadata>(Old))) { in handleChangedOperand() 1047 MDs.push_back(ConstantAsMetadata::get(I)); in getMostGenericRange() 1460 cast<ConstantAsMetadata>(MD.second->getOperand(0))->getValue()); in copyMetadata() 1462 auto *NewOffsetMD = ConstantAsMetadata::get(ConstantInt::get( in copyMetadata() 1498 {ConstantAsMetadata::get(ConstantInt::get( in addTypeMetadata() 1506 {ConstantAsMetadata::get(ConstantInt::get( in addVCallVisibilityMetadata() 1513 cast<ConstantAsMetadata>(MD->getOperand(0))->getValue()) in getVCallVisibility()
|
D | TypeFinder.cpp | 163 if (auto *C = dyn_cast<ConstantAsMetadata>(Op)) { in incorporateMDNode()
|
D | DIBuilder.cpp | 328 Metadata *ExtraData = ConstantAsMetadata::get( in createInheritance() 346 static ConstantAsMetadata *getConstantOrNull(Constant *C) { in getConstantOrNull() 348 return ConstantAsMetadata::get(C); in getConstantOrNull() 371 ConstantAsMetadata::get(ConstantInt::get(IntegerType::get(VMContext, 64), in createBitFieldMemberType()
|
/third_party/mesa3d/src/gallium/frontends/clover/llvm/ |
D | metadata.hpp | 83 auto value = ::llvm::cast< ::llvm::ConstantAsMetadata>(o) in get_uint_vector_kernel_metadata() 101 auto value = ::llvm::cast< ::llvm::ConstantAsMetadata>(operands[0]) in get_type_kernel_metadata() 106 value = ::llvm::cast< ::llvm::ConstantAsMetadata>(operands[1]) in get_type_kernel_metadata() 175 auto meta_arg_value = ::llvm::cast< ::llvm::ConstantAsMetadata>( in get_uint_argument_metadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Metadata.h | 346 static ConstantAsMetadata *getConstant(Value *C) { in getConstant() 347 return cast<ConstantAsMetadata>(get(C)); in getConstant() 354 static ConstantAsMetadata *getConstantIfExists(Value *C) { in getConstantIfExists() 355 return cast_or_null<ConstantAsMetadata>(getIfExists(C)); in getConstantIfExists() 385 class ConstantAsMetadata : public ValueAsMetadata { 388 ConstantAsMetadata(Constant *C) in ConstantAsMetadata() function 392 static ConstantAsMetadata *get(Constant *C) { in get() 396 static ConstantAsMetadata *getIfExists(Constant *C) { in getIfExists() 515 if (auto *V = dyn_cast<ConstantAsMetadata>(MD)) in hasa() 532 return cast<X>(cast<ConstantAsMetadata>(MD)->getValue()); in extract() [all …]
|
D | Metadata.def | 78 HANDLE_METADATA_LEAF(ConstantAsMetadata)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Metadata.h | 361 static ConstantAsMetadata *getConstant(Value *C) { in getConstant() 362 return cast<ConstantAsMetadata>(get(C)); in getConstant() 371 static ConstantAsMetadata *getConstantIfExists(Value *C) { in getConstantIfExists() 372 return cast_or_null<ConstantAsMetadata>(getIfExists(C)); in getConstantIfExists() 403 class ConstantAsMetadata : public ValueAsMetadata { 406 ConstantAsMetadata(Constant *C) in ConstantAsMetadata() function 410 static ConstantAsMetadata *get(Constant *C) { in get() 414 static ConstantAsMetadata *getIfExists(Constant *C) { in getIfExists() 533 if (auto *V = dyn_cast<ConstantAsMetadata>(MD)) in hasa() 550 return cast<X>(cast<ConstantAsMetadata>(MD)->getValue()); in extract() [all …]
|
D | MDBuilder.h | 30 class ConstantAsMetadata; variable 45 ConstantAsMetadata *createConstant(Constant *C);
|
D | Metadata.def | 77 HANDLE_METADATA_LEAF(ConstantAsMetadata)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVVMIntrRange.cpp | 76 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Low)), in addRangeMetadata() 77 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, High))}; in addRangeMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalSplit.cpp | 94 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue()) in splitGlobal() 110 {ConstantAsMetadata::get( in splitGlobal()
|
D | ThinLTOBitcodeWriter.cpp | 334 Elts.push_back(ConstantAsMetadata::get( in splitAndWriteThinLTOBitcode() 357 ConstantAsMetadata::get( in splitAndWriteThinLTOBitcode() 359 ConstantAsMetadata::get( in splitAndWriteThinLTOBitcode()
|
D | GlobalDCE.cpp | 165 cast_or_null<ConstantAsMetadata>(M.getModuleFlag("LTOPostLink")); in ScanVTables() 184 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue()) in ScanVTables()
|
D | LowerTypeTests.cpp | 566 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue()) in buildBitSet() 698 cast<ConstantAsMetadata>(Type->getOperand(0))->getValue()) in isKnownTypeIdMember() 991 auto *MinC = ConstantAsMetadata::get(ConstantInt::get(IntPtrTy, Min)); in importTypeId() 992 auto *MaxC = ConstantAsMetadata::get(ConstantInt::get(IntPtrTy, Max)); in importTypeId() 1183 auto OffsetConstMD = dyn_cast<ConstantAsMetadata>(Type->getOperand(0)); in verifyTypeMDNode() 1576 ArrayRef<Metadata *>(ConstantAsMetadata::get( in buildBitSetsFromFunctionsWASM() 1858 cast<ConstantAsMetadata>(FuncMD->getOperand(1)) in lower() 2150 cast<ConstantAsMetadata>(AliasMD->getOperand(2)) in lower() 2155 static_cast<bool>(cast<ConstantAsMetadata>(AliasMD->getOperand(3)) in lower()
|
D | CrossDSOCFI.cpp | 151 Ctx, ConstantAsMetadata::get(CaseTypeId))}); in buildCFICheck()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 522 if (auto *CMD = dyn_cast<ConstantAsMetadata>(Op)) in tryToMapOperand() 559 static ConstantAsMetadata *wrapConstantAsMetadata(const ConstantAsMetadata &CMD, in wrapConstantAsMetadata() 562 return const_cast<ConstantAsMetadata *>(&CMD); in wrapConstantAsMetadata() 563 return MappedV ? ConstantAsMetadata::getConstant(MappedV) : nullptr; in wrapConstantAsMetadata() 576 if (auto *CMD = dyn_cast<ConstantAsMetadata>(Op)) in getMappedOp() 790 if (auto *CMD = dyn_cast<ConstantAsMetadata>(MD)) { in mapSimpleMetadata()
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder.h | 138 llvm::ConstantAsMetadata::get(cval)); in SetMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyAsmPrinter.cpp | 248 if (auto *MD = cast<ConstantAsMetadata>(Policy)) in EmitTargetFeatures() 308 cast<ConstantAsMetadata>(Idx->getOperand(0))->getValue())); in EmitFunctionBodyStart()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TypeBasedAliasAnalysis.cpp | 547 auto *OffsetNode = ConstantAsMetadata::get(ConstantInt::get(Int64, 0)); in createAccessTag() 554 ConstantAsMetadata::get(ConstantInt::get(Int64, AccessSize)); in createAccessTag()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 323 KernelMDArgs.push_back(ConstantAsMetadata::get(NewF)); in addImplicitArgs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 662 (isa<MDNode>(MD) || isa<MDString>(MD) || isa<ConstantAsMetadata>(MD)) && in enumerateMetadataImpl() 683 if (auto *C = dyn_cast<ConstantAsMetadata>(MD)) in enumerateMetadataImpl()
|