/external/llvm/include/llvm/IR/ |
D | Metadata.h | 252 class ValueAsMetadata : public Metadata, ReplaceableMetadataImpl { 264 ValueAsMetadata(unsigned ID, Value *V) in ValueAsMetadata() function 268 ~ValueAsMetadata() = default; 271 static ValueAsMetadata *get(Value *V); 279 static ValueAsMetadata *getIfExists(Value *V); 311 class ConstantAsMetadata : public ValueAsMetadata { 312 friend class ValueAsMetadata; variable 315 : ValueAsMetadata(ConstantAsMetadataKind, C) {} in ConstantAsMetadata() 319 return ValueAsMetadata::getConstant(C); in get() 322 return ValueAsMetadata::getConstantIfExists(C); in getIfExists() [all …]
|
D | TrackingMDRef.h | 24 class ValueAsMetadata; variable 139 typedef TypedTrackingMDRef<ValueAsMetadata> TrackingValueAsMetadataRef;
|
D | Metadata.def | 77 HANDLE_METADATA_BRANCH(ValueAsMetadata)
|
D | Value.h | 72 friend class ValueAsMetadata; // Allow access to IsUsedByMD. variable
|
/external/llvm/test/Transforms/GlobalOpt/ |
D | metadata.ll | 17 ; for 'MetadataAsValue::get(ValueAsMetadata::get(Value*))'. When @G drops to 18 ; null, the ValueAsMetadata instance gets replaced by metadata !{}, or
|
/external/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 79 auto TM = dyn_cast<ValueAsMetadata>(MD->getOperand(0)); in extractBitSetTypeId() 88 auto FM = dyn_cast_or_null<ValueAsMetadata>(MD->getOperand(1)); in extractBitSetTypeId()
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 251 ValueAsMetadata *ValueAsMetadata::get(Value *V) { in get() 271 ValueAsMetadata *ValueAsMetadata::getIfExists(Value *V) { in getIfExists() 276 void ValueAsMetadata::handleDeletion(Value *V) { in handleDeletion() 285 ValueAsMetadata *MD = I->second; in handleDeletion() 295 void ValueAsMetadata::handleRAUW(Value *From, Value *To) { in handleRAUW() 314 ValueAsMetadata *MD = I->second; in handleRAUW()
|
D | MetadataTracking.cpp | 22 return dyn_cast<ValueAsMetadata>(&MD); in get()
|
D | IntrinsicInst.cpp | 54 if (auto *V = dyn_cast<ValueAsMetadata>(MD)) in getValueImpl()
|
D | TypeFinder.cpp | 128 if (const auto *MDV = dyn_cast<ValueAsMetadata>(M->getMetadata())) in incorporateValue()
|
D | Value.cpp | 68 ValueAsMetadata::handleDeletion(this); in ~Value() 372 ValueAsMetadata::handleRAUW(this, New); in replaceAllUsesWith()
|
D | Verifier.cpp | 309 void visitValueAsMetadata(const ValueAsMetadata &MD, Function *F); 655 if (auto *V = dyn_cast<ValueAsMetadata>(Op)) { in visitMDNode() 666 void Verifier::visitValueAsMetadata(const ValueAsMetadata &MD, Function *F) { in visitValueAsMetadata() 704 if (auto *V = dyn_cast<ValueAsMetadata>(MD)) in visitMetadataAsValue() 3782 Assert(isa<ValueAsMetadata>(MD) || in visitDbgIntrinsic()
|
D | Core.cpp | 614 isa<ValueAsMetadata>(MD->getMetadata())) in LLVM_FOR_EACH_VALUE_SUBCLASS() 665 if (auto *L = dyn_cast<ValueAsMetadata>(MD->getMetadata())) { in LLVMGetOperand() 783 if (isa<ValueAsMetadata>(MD->getMetadata())) in LLVMGetMDNodeNumOperands() 791 if (auto *MDV = dyn_cast<ValueAsMetadata>(MD->getMetadata())) { in LLVMGetMDNodeOperands()
|
D | DIBuilder.cpp | 767 return MetadataAsValue::get(VMContext, ValueAsMetadata::get(V)); in getDbgIntrinsicValueImpl()
|
D | LLVMContextImpl.h | 929 DenseMap<Value *, ValueAsMetadata *> ValuesAsMetadata;
|
D | AsmWriter.cpp | 1350 else if (auto *MDV = dyn_cast<ValueAsMetadata>(MD)) { in writeMDTuple() 1991 auto *V = cast<ValueAsMetadata>(MD); in WriteAsOperandInternal()
|
/external/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 336 if (const auto *VMD = dyn_cast<ValueAsMetadata>(MD)) { in MapMetadataImpl() 350 return mapToMetadata(VM, MD, ValueAsMetadata::get(MappedV), Materializer, in MapMetadataImpl()
|
/external/llvm/unittests/IR/ |
D | MetadataTest.cpp | 2052 auto *MD = ValueAsMetadata::get(GV0.get()); in TEST_F() 2081 ValueAsMetadata::handleDeletion(CI->getValue()); in TEST_F() 2096 TypedTrackingMDRef<ValueAsMetadata> MD(ValueAsMetadata::get(GV0.get())); in TEST_F() 2113 TypedTrackingMDRef<ValueAsMetadata> MD(ValueAsMetadata::get(GV.get())); in TEST_F()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1997 ValueAsMetadata::get(ValueList.getValueFwdRef(Record[i + 1], Ty)); in parseMetadata() 2016 ValueAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseMetadata()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 830 static void WriteValueAsMetadata(const ValueAsMetadata *MD, in WriteValueAsMetadata()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 3807 Context, llvm::ValueAsMetadata::getConstant(DAddr))); in EmitDeclMetadata()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 4104 MD = ValueAsMetadata::get(V); in ParseValueAsMetadata()
|