Home
last modified time | relevance | path

Searched refs:ValueAsMetadata (Results 1 – 25 of 38) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h325 class ValueAsMetadata : public Metadata, ReplaceableMetadataImpl {
337 ValueAsMetadata(unsigned ID, Value *V) in ValueAsMetadata() function
342 ~ValueAsMetadata() = default;
345 static ValueAsMetadata *get(Value *V);
353 static ValueAsMetadata *getIfExists(Value *V);
385 class ConstantAsMetadata : public ValueAsMetadata {
386 friend class ValueAsMetadata; variable
389 : ValueAsMetadata(ConstantAsMetadataKind, C) {} in ConstantAsMetadata()
393 return ValueAsMetadata::getConstant(C); in get()
397 return ValueAsMetadata::getConstantIfExists(C); in getIfExists()
[all …]
DTrackingMDRef.h134 typedef TypedTrackingMDRef<ValueAsMetadata> TrackingValueAsMetadataRef;
DMetadata.def77 HANDLE_METADATA_BRANCH(ValueAsMetadata)
DValue.h75 friend class ValueAsMetadata; // Allow access to IsUsedByMD. variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DMetadata.h339 class ValueAsMetadata : public Metadata, ReplaceableMetadataImpl {
351 ValueAsMetadata(unsigned ID, Value *V) in ValueAsMetadata() function
356 ~ValueAsMetadata() = default;
359 static ValueAsMetadata *get(Value *V);
369 static ValueAsMetadata *getIfExists(Value *V);
403 class ConstantAsMetadata : public ValueAsMetadata {
404 friend class ValueAsMetadata; variable
407 : ValueAsMetadata(ConstantAsMetadataKind, C) {} in ConstantAsMetadata()
411 return ValueAsMetadata::getConstant(C); in get()
415 return ValueAsMetadata::getConstantIfExists(C); in getIfExists()
[all …]
DTrackingMDRef.h142 using TrackingValueAsMetadataRef = TypedTrackingMDRef<ValueAsMetadata>;
DMetadata.def76 HANDLE_METADATA_BRANCH(ValueAsMetadata)
DValue.h80 friend class ValueAsMetadata; // Allow access to IsUsedByMD. variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp90 Metadata *Vals[] = {ValueAsMetadata::get(E.first.first), in addModuleFlags()
91 ValueAsMetadata::get(E.first.second), in addModuleFlags()
DHWAddressSanitizer.cpp1287 MDNode::get(*C, ValueAsMetadata::get(NewGV))); in instrumentGlobal()
1380 MDNode::get(*C, ValueAsMetadata::get(Note))); in instrumentGlobals()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMetadata.cpp316 return dyn_cast<ValueAsMetadata>(&MD); in getOrCreate()
322 return dyn_cast<ValueAsMetadata>(&MD); in getIfExists()
328 return dyn_cast<ValueAsMetadata>(&MD); in isReplaceable()
348 ValueAsMetadata *ValueAsMetadata::get(Value *V) { in get()
367 ValueAsMetadata *ValueAsMetadata::getIfExists(Value *V) { in getIfExists()
372 void ValueAsMetadata::handleDeletion(Value *V) { in handleDeletion()
381 ValueAsMetadata *MD = I->second; in handleDeletion()
391 void ValueAsMetadata::handleRAUW(Value *From, Value *To) { in handleRAUW()
408 ValueAsMetadata *MD = I->second; in handleRAUW()
DTypeFinder.cpp124 if (const auto *MDV = dyn_cast<ValueAsMetadata>(M->getMetadata())) in incorporateValue()
DIntrinsicInst.cpp45 if (auto *V = dyn_cast<ValueAsMetadata>(MD)) in getVariableLocation()
DValue.cpp78 ValueAsMetadata::handleDeletion(this); in ~Value()
410 ValueAsMetadata::handleRAUW(this, New); in doRAUW()
DVerifier.cpp410 void visitValueAsMetadata(const ValueAsMetadata &MD, Function *F);
817 if (auto *V = dyn_cast<ValueAsMetadata>(Op)) { in visitMDNode()
828 void Verifier::visitValueAsMetadata(const ValueAsMetadata &MD, Function *F) { in visitValueAsMetadata()
866 if (auto *V = dyn_cast<ValueAsMetadata>(MD)) in visitMetadataAsValue()
1489 auto F = dyn_cast<ValueAsMetadata>(FuncMDO); in visitModuleFlagCGProfileEntry()
4904 AssertDI(isa<ValueAsMetadata>(MD) || in visitDbgIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp68 auto TM = dyn_cast<ValueAsMetadata>(MD->getOperand(1)); in extractNumericTypeId()
DThinLTOBitcodeWriter.cpp231 if (auto *AssocVM = dyn_cast_or_null<ValueAsMetadata>(MD->getOperand(0))) in splitAndWriteThinLTOBitcode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackColoring.cpp949 ValueAsMetadata::handleRAUW(FromAI, UndefValue::get(FromAI->getType())); in remapInstructions()
953 ValueAsMetadata::handleRAUW(BCI, UndefValue::get(BCI->getType())); in remapInstructions()
DTargetLoweringObjectFileImpl.cpp332 auto V = cast<ValueAsMetadata>(MDO); in emitModuleMetadata()
525 auto *VM = dyn_cast<ValueAsMetadata>(Op); in getAssociatedSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp75 if (auto *Unwrapped = dyn_cast<ValueAsMetadata>(V->getMetadata())) { in remapInstruction()
82 return Wrapped ? MetadataAsValue::get(C, ValueAsMetadata::get(V)) : V; in remapInstruction()
DLCSSA.cpp233 DVI->setOperand(0, MetadataAsValue::get(Ctx, ValueAsMetadata::get(V))); in formLCSSAForInstructions()
DDebugify.cpp147 Ctx, ValueAsMetadata::getConstant(ConstantInt::get(IntTy, N)))); in applyDebugifyMetadata()
DLoopRotationUtils.cpp175 ValueAsMetadata::get(NewVal))); in RewriteUsesOfClonedInstructions()
DLocal.cpp495 ValueAsMetadata::get(Undef))); in replaceDbgUsesWithUndef()
1484 auto PhiMAV = MetadataAsValue::get(C, ValueAsMetadata::get(PHI)); in insertDebugValuesForPHIs()
1612 return MetadataAsValue::get(C, ValueAsMetadata::get(V)); in wrapValueInMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp292 cast<ValueAsMetadata>(Node->getOperand(0))->getType(), in emitKernelAttrs()
706 cast<ValueAsMetadata>(Node->getOperand(0))->getType(), in emitKernelAttrs()

12