/external/llvm/include/llvm/IR/ |
D | Metadata.h | 312 class ValueAsMetadata : public Metadata, ReplaceableMetadataImpl { 324 ValueAsMetadata(unsigned ID, Value *V) in ValueAsMetadata() function 328 ~ValueAsMetadata() = default; 331 static ValueAsMetadata *get(Value *V); 339 static ValueAsMetadata *getIfExists(Value *V); 371 class ConstantAsMetadata : public ValueAsMetadata { 372 friend class ValueAsMetadata; variable 375 : ValueAsMetadata(ConstantAsMetadataKind, C) {} in ConstantAsMetadata() 379 return ValueAsMetadata::getConstant(C); in get() 382 return ValueAsMetadata::getConstantIfExists(C); in getIfExists() [all …]
|
D | TrackingMDRef.h | 134 typedef TypedTrackingMDRef<ValueAsMetadata> TrackingValueAsMetadataRef;
|
D | Metadata.def | 77 HANDLE_METADATA_BRANCH(ValueAsMetadata)
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Metadata.h | 325 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 …]
|
D | TrackingMDRef.h | 134 typedef TypedTrackingMDRef<ValueAsMetadata> TrackingValueAsMetadataRef;
|
D | Metadata.def | 77 HANDLE_METADATA_BRANCH(ValueAsMetadata)
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Metadata.h | 337 class ValueAsMetadata : public Metadata, ReplaceableMetadataImpl { 349 ValueAsMetadata(unsigned ID, Value *V) in ValueAsMetadata() function 354 ~ValueAsMetadata() = default; 357 static ValueAsMetadata *get(Value *V); 367 static ValueAsMetadata *getIfExists(Value *V); 401 class ConstantAsMetadata : public ValueAsMetadata { 402 friend class ValueAsMetadata; variable 405 : ValueAsMetadata(ConstantAsMetadataKind, C) {} in ConstantAsMetadata() 409 return ValueAsMetadata::getConstant(C); in get() 413 return ValueAsMetadata::getConstantIfExists(C); in getIfExists() [all …]
|
D | TrackingMDRef.h | 143 using TrackingValueAsMetadataRef = TypedTrackingMDRef<ValueAsMetadata>;
|
D | Metadata.def | 77 HANDLE_METADATA_BRANCH(ValueAsMetadata)
|
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | CGProfile.cpp | 92 Vals.push_back(ValueAsMetadata::get(E.first.first)); in addModuleFlags() 93 Vals.push_back(ValueAsMetadata::get(E.first.second)); in addModuleFlags()
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 284 return dyn_cast<ValueAsMetadata>(&MD); in getOrCreate() 290 return dyn_cast<ValueAsMetadata>(&MD); in getIfExists() 296 return dyn_cast<ValueAsMetadata>(&MD); in isReplaceable() 308 ValueAsMetadata *ValueAsMetadata::get(Value *V) { in get() 328 ValueAsMetadata *ValueAsMetadata::getIfExists(Value *V) { in getIfExists() 333 void ValueAsMetadata::handleDeletion(Value *V) { in handleDeletion() 342 ValueAsMetadata *MD = I->second; in handleDeletion() 352 void ValueAsMetadata::handleRAUW(Value *From, Value *To) { in handleRAUW() 371 ValueAsMetadata *MD = I->second; in handleRAUW()
|
D | IntrinsicInst.cpp | 41 if (auto *V = dyn_cast<ValueAsMetadata>(MD)) in getVariableLocation()
|
D | TypeFinder.cpp | 124 if (const auto *MDV = dyn_cast<ValueAsMetadata>(M->getMetadata())) in incorporateValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Metadata.cpp | 317 return dyn_cast<ValueAsMetadata>(&MD); in getOrCreate() 323 return dyn_cast<ValueAsMetadata>(&MD); in getIfExists() 329 return dyn_cast<ValueAsMetadata>(&MD); in isReplaceable() 349 ValueAsMetadata *ValueAsMetadata::get(Value *V) { in get() 368 ValueAsMetadata *ValueAsMetadata::getIfExists(Value *V) { in getIfExists() 373 void ValueAsMetadata::handleDeletion(Value *V) { in handleDeletion() 382 ValueAsMetadata *MD = I->second; in handleDeletion() 392 void ValueAsMetadata::handleRAUW(Value *From, Value *To) { in handleRAUW() 409 ValueAsMetadata *MD = I->second; in handleRAUW()
|
D | TypeFinder.cpp | 125 if (const auto *MDV = dyn_cast<ValueAsMetadata>(M->getMetadata())) in incorporateValue()
|
D | IntrinsicInst.cpp | 44 if (auto *V = dyn_cast<ValueAsMetadata>(MD)) in getVariableLocation()
|
/external/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 69 auto TM = dyn_cast<ValueAsMetadata>(MD->getOperand(1)); in extractNumericTypeId()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | ValueMapperTest.cpp | 342 auto *MDA = MetadataAsValue::get(Context, ValueAsMetadata::get(&A)); in TEST() 343 auto *MDC = MetadataAsValue::get(Context, ValueAsMetadata::get(&C)); in TEST()
|
/external/llvm/unittests/Transforms/Utils/ |
D | ValueMapperTest.cpp | 342 auto *MDA = MetadataAsValue::get(Context, ValueAsMetadata::get(&A)); in TEST() 343 auto *MDC = MetadataAsValue::get(Context, ValueAsMetadata::get(&C)); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 68 auto TM = dyn_cast<ValueAsMetadata>(MD->getOperand(1)); in extractNumericTypeId()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopRotation.cpp | 143 if (auto *VAM = ValueAsMetadata::getIfExists(OrigHeaderVal)) { in RewriteUsesOfClonedInstructions() 170 U = MetadataAsValue::get(C, ValueAsMetadata::get(NewVal)); in RewriteUsesOfClonedInstructions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 73 if (auto *Unwrapped = dyn_cast<ValueAsMetadata>(V->getMetadata())) { in remapInstruction() 80 return Wrapped ? MetadataAsValue::get(C, ValueAsMetadata::get(V)) : V; in remapInstruction()
|
/external/llvm/lib/CodeGen/ |
D | StackColoring.cpp | 824 ValueAsMetadata::handleRAUW(FromAI, UndefValue::get(FromAI->getType())); in remapInstructions() 828 ValueAsMetadata::handleRAUW(BCI, UndefValue::get(BCI->getType())); in remapInstructions()
|