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;
162 const SmallVectorImpl<const LocalAsMetadata *> &getFunctionLocalMDs() const { in getFunctionLocalMDs()
196 void EnumerateFunctionLocalMetadata(const LocalAsMetadata *Local);
DValueEnumerator.cpp352 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
511 assert(!isa<LocalAsMetadata>(MD) && "MDNodes cannot be function-local"); in EnumerateMDNodeOperands()
547 const LocalAsMetadata *Local) { in EnumerateFunctionLocalMetadata()
654 assert(!isa<LocalAsMetadata>(MD->getMetadata()) && in EnumerateOperandType()
735 SmallVector<LocalAsMetadata *, 8> FnLocalMDVector; in incorporateFunction()
741 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) in incorporateFunction()
DBitcodeWriter.cpp847 assert(!(MD && isa<LocalAsMetadata>(MD)) && in WriteMDTuple()
1367 const SmallVectorImpl<const LocalAsMetadata *> &MDs = in WriteFunctionLocalMetadata()
/external/llvm/include/llvm/IR/
DMetadata.h275 static LocalAsMetadata *getLocal(Value *Local) { in getLocal()
276 return cast<LocalAsMetadata>(get(Local)); in getLocal()
283 static LocalAsMetadata *getLocalIfExists(Value *Local) { in getLocalIfExists()
284 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()
334 class LocalAsMetadata : public ValueAsMetadata {
337 LocalAsMetadata(Value *Local) in LocalAsMetadata() function
343 static LocalAsMetadata *get(Value *Local) { in get()
346 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists()
DMetadata.def79 HANDLE_METADATA_LEAF(LocalAsMetadata)
/external/llvm/lib/IR/
DMetadata.cpp265 Entry = new LocalAsMetadata(V); in get()
319 if (isa<LocalAsMetadata>(MD)) { in handleRAUW()
DCore.cpp752 assert(!isa<LocalAsMetadata>(MD) && "Unexpected function-local metadata " in LLVMMDNodeInContext()
758 return wrap(MetadataAsValue::get(Context, LocalAsMetadata::get(V))); in LLVMMDNodeInContext()
DVerifier.cpp649 Assert(!isa<LocalAsMetadata>(Op), "Invalid operand for global metadata!", in visitMDNode()
671 auto *L = dyn_cast<LocalAsMetadata>(&MD); in visitValueAsMetadata()
DAsmWriter.cpp1993 assert((FromValue || !isa<LocalAsMetadata>(V)) && in WriteAsOperandInternal()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp81 if (!isa<LocalAsMetadata>(MD) && (Flags & RF_NoModuleLevelChanges)) in MapValue()
DLocal.cpp1139 if (auto *L = LocalAsMetadata::getIfExists(V)) in FindAllocaDbgDeclare()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp233 if (auto *L = LocalAsMetadata::getIfExists(AI)) in InlineCallIfPossible()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1063 if (auto *L = LocalAsMetadata::getIfExists(AI)) { in run()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1978 LocalAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseMetadata()
3906 if (isa<LocalAsMetadata>(Node)) in parseMetadataAttachment()
/external/llvm/unittests/IR/
DMetadataTest.cpp212 Metadata *const V = LocalAsMetadata::get(I); in TEST_F()