/external/llvm/unittests/Transforms/Utils/ |
ValueMapperTest.cpp | 21 TempMDTuple T = MDTuple::getTemporary(Context, None); 29 auto *D = MDTuple::getDistinct(Context, None); 45 Metadata *Old = MDTuple::getDistinct(Context, None); 46 auto *D = MDTuple::getDistinct(Context, Old); 49 Metadata *New = MDTuple::getDistinct(Context, None);
|
/external/llvm/include/llvm/IR/ |
Metadata.h | 731 /// MDTuple. 784 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 785 static inline MDTuple *getIfExists(LLVMContext &Context, 787 static inline MDTuple *getDistinct(LLVMContext &Context, 978 class MDTuple : public MDNode { 982 MDTuple(LLVMContext &C, StorageType Storage, unsigned Hash, 987 ~MDTuple() { dropAllReferences(); } [all...] |
DebugInfoMetadata.h | 99 const MDTuple *N = nullptr; 103 DITypeRefArray(const MDTuple *N) : N(N) {} 106 explicit operator MDTuple *() const { return get(); } 108 MDTuple *get() const { return const_cast<MDTuple *>(N); } 109 MDTuple *operator->() const { return get(); } 110 MDTuple &operator*() const { return *get(); } 827 return cast_or_null<MDTuple>(getRawElements()); 831 return cast_or_null<MDTuple>(getRawTemplateParams()); [all...] |
/external/llvm/unittests/IR/ |
MetadataTest.cpp | 81 MDTuple *getTuple() { return MDTuple::getDistinct(Context, None); } 471 MDNode *U = MDTuple::get(Context, None); 472 MDNode *D = MDTuple::getDistinct(Context, None); 473 auto T = MDTuple::getTemporary(Context, None); 480 MDNode *U = MDTuple::get(Context, None); 481 MDNode *D = MDTuple::getDistinct(Context, None); 482 auto T = MDTuple::getTemporary(Context, None); 489 MDNode *U = MDTuple::get(Context, None); 490 MDNode *D = MDTuple::getDistinct(Context, None) [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
RSAddDebugInfoPass.cpp | 127 llvm::MDTuple *kernelPrototypeMD = nullptr; 134 kernelPrototypeMD = llvm::cast<llvm::MDTuple>(ST->getRawTypeArray()); 141 kernelPrototypeMD = llvm::MDTuple::get(ctx, {nullptr}); 186 llvm::MDTuple *argTypes = kernelTypeMD->getTypeArray().get();
|
/external/llvm/bindings/go/llvm/ |
DIBuilderBindings.cpp | 131 D->createSubroutineType(DITypeRefArray(unwrap<MDTuple>(ParameterTypes)))); 144 ElementTypes ? DINodeArray(unwrap<MDTuple>(ElementTypes)) : nullptr)); 178 DINodeArray(unwrap<MDTuple>(Subscripts))));
|
IRBindings.cpp | 68 return wrap(MDTuple::getTemporary(*unwrap(C),
|
/external/llvm/lib/IR/ |
DIBuilder.cpp | 82 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); 95 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); 97 DISubprogramArray SPs = MDTuple::get(VMContext, AllSubprograms); 102 if (MDTuple *Temp = SP->getVariables().get()) { 111 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); 114 CUNode->replaceImportedEntities(MDTuple::get( 396 cast_or_null<MDTuple>(TemplateParams), UniqueIdentifier); 552 return MDTuple::get(VMContext, Elements); 694 MDTuple::getTemporary(VMContext, None).release()); [all...] |
Verifier.cpp | 321 template <class Ty> bool isValidMetadataArray(const MDTuple &N); 737 bool isValidMetadataArrayImpl(const MDTuple &N, bool AllowNull) { 751 bool isValidMetadataArray(const MDTuple &N) { 756 bool isValidMetadataNullArray(const MDTuple &N) { 823 auto *Params = dyn_cast<MDTuple>(&RawParams); 846 Assert(!N.getRawElements() || isa<MDTuple>(N.getRawElements()), 865 Assert(isa<MDTuple>(Types), "invalid composite elements", &N, Types); 890 Assert(isa<MDTuple>(Array), "invalid enum list", &N, Array); [all...] |
LLVMContextImpl.h | 214 /// \brief DenseMapInfo for MDTuple. 218 template <> struct MDNodeKeyImpl<MDTuple> : MDNodeOpsKey { 220 MDNodeKeyImpl(const MDTuple *N) : MDNodeOpsKey(N) {} 222 bool isKeyOf(const MDTuple *RHS) const { return compareOps(RHS); } 226 static unsigned calculateHash(MDTuple *N) { [all...] |
Metadata.cpp | 587 void MDTuple::recalculateHash() { 713 MDTuple *MDTuple::getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, 727 return storeImpl(new (MDs.size()) MDTuple(Context, Storage, Hash, MDs), [all...] |
AsmWriter.cpp | [all...] |
/external/llvm/lib/Transforms/IPO/ |
StripSymbols.cpp | 348 DIC->replaceSubprograms(MDTuple::get(C, LiveSubprograms)); 353 DIC->replaceGlobalVariables(MDTuple::get(C, LiveGlobalVariables));
|
/frameworks/compile/slang/ |
slang_backend.cpp | 815 addOperand(Idx++, llvm::MDTuple::get(mLLVMContext, Accumulator)); 823 llvm::MDTuple::get(mLLVMContext, ExportReduceInfo));
|
/external/llvm/lib/Transforms/Utils/ |
InlineFunction.cpp | 430 DummyNodes.push_back(MDTuple::getTemporary(CalledFunc->getContext(), None)); 449 MDTuple *TempM = cast<MDTuple>(MDMap[*I]); [all...] |
CloneFunction.cpp | 185 CU->replaceSubprograms(MDTuple::get(CU->getContext(), NewSPs)); [all...] |
/external/clang/lib/CodeGen/ |
CodeGenModule.cpp | [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfUnit.cpp | [all...] |
/external/llvm/lib/Linker/ |
IRMover.cpp | [all...] |
/external/llvm/lib/AsmParser/ |
LLParser.cpp | 577 FwdRef = std::make_pair(MDTuple::getTemporary(Context, None), Lex.getLoc()); [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriter.cpp | 554 static void WriteMDTuple(const MDTuple *N, const llvm_2_9::ValueEnumerator &VE, [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriter.cpp | 552 static void WriteMDTuple(const MDTuple *N, const llvm_2_9_func::ValueEnumerator &VE, [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
BitcodeWriter.cpp | 581 static void WriteMDTuple(const MDTuple *N, const llvm_3_2::ValueEnumerator &VE, [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 842 static void WriteMDTuple(const MDTuple *N, const ValueEnumerator &VE, [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | 729 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); [all...] |