Home
last modified time | relevance | path

Searched refs:LocalAsMetadata (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.h34 class LocalAsMetadata; variable
64 SmallVector<const LocalAsMetadata *, 8> FunctionLocalMDs;
161 const SmallVectorImpl<const LocalAsMetadata *> &getFunctionLocalMDs() const { in getFunctionLocalMDs()
195 void EnumerateFunctionLocalMetadata(const LocalAsMetadata *Local);
DValueEnumerator.cpp361 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
522 assert(!isa<LocalAsMetadata>(MD) && "MDNodes cannot be function-local"); in EnumerateMDNodeOperands()
558 const LocalAsMetadata *Local) { in EnumerateFunctionLocalMetadata()
665 assert(!isa<LocalAsMetadata>(MD->getMetadata()) && in EnumerateOperandType()
751 SmallVector<LocalAsMetadata *, 8> FnLocalMDVector; in incorporateFunction()
758 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) in incorporateFunction()
DBitcodeWriter.cpp775 assert(!(MD && isa<LocalAsMetadata>(MD)) && in WriteMDTuple()
1257 const SmallVectorImpl<const LocalAsMetadata *> &MDs = in WriteFunctionLocalMetadata()
/external/llvm/include/llvm/IR/
DMetadata.h263 static LocalAsMetadata *getLocal(Value *Local) { in getLocal()
264 return cast<LocalAsMetadata>(get(Local)); in getLocal()
271 static LocalAsMetadata *getLocalIfExists(Value *Local) { in getLocalIfExists()
272 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()
322 class LocalAsMetadata : public ValueAsMetadata {
325 LocalAsMetadata(Value *Local) in LocalAsMetadata() function
331 static LocalAsMetadata *get(Value *Local) { in get()
334 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists()
DMetadata.def60 HANDLE_METADATA_LEAF(LocalAsMetadata)
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp64 if (!isa<LocalAsMetadata>(MD) && (Flags & RF_NoModuleLevelChanges)) in MapValue()
DLocal.cpp1093 if (auto *L = LocalAsMetadata::getIfExists(V)) in FindAllocaDbgDeclare()
/external/llvm/lib/IR/
DMetadata.cpp265 Entry = new LocalAsMetadata(V); in get()
319 if (isa<LocalAsMetadata>(MD)) { in handleRAUW()
DCore.cpp736 assert(!isa<LocalAsMetadata>(MD) && "Unexpected function-local metadata " in LLVMMDNodeInContext()
742 return wrap(MetadataAsValue::get(Context, LocalAsMetadata::get(V))); in LLVMMDNodeInContext()
DVerifier.cpp640 Assert(!isa<LocalAsMetadata>(Op), "Invalid operand for global metadata!", in visitMDNode()
662 auto *L = dyn_cast<LocalAsMetadata>(&MD); in visitValueAsMetadata()
DAsmWriter.cpp1927 assert((FromValue || !isa<LocalAsMetadata>(V)) && in WriteAsOperandInternal()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1644 LocalAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in ParseMetadata()
3240 if (isa<LocalAsMetadata>(Node)) in ParseMetadataAttachment()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1062 if (auto *L = LocalAsMetadata::getIfExists(AI)) { in run()
DSROA.cpp1098 if (auto *L = LocalAsMetadata::getIfExists(&AI)) { in run()
/external/llvm/unittests/IR/
DMetadataTest.cpp210 Metadata *const V = LocalAsMetadata::get(I); in TEST_F()