Home
last modified time | relevance | path

Searched refs:MDNode (Results 1 – 20 of 20) sorted by relevance

/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp67 const char *createStringFromOptionalValue(llvm::MDNode *n, unsigned opndNum) { in createStringFromOptionalValue()
114 llvm::MDNode *Name = NameMetadata->getOperand(i); in populateNameMetadata()
287 llvm::MDNode *ObjectSlot = ObjectSlotMetadata->getOperand(i); in populateObjectSlotMetadata()
320 llvm::MDNode *Pragma = PragmaMetadata->getOperand(i); in populatePragmaMetadata()
439 llvm::MDNode *SigNode = Signatures->getOperand(i); in populateForEachMetadata()
453 llvm::MDNode *Name = Names->getOperand(i); in populateForEachMetadata()
500 llvm::MDNode *Node = ReduceMetadata->getOperand(i); in populateReduceMetadata()
514 llvm::MDNode *AccumulatorNode = llvm::dyn_cast<llvm::MDNode>(Node->getOperand(2)); in populateReduceMetadata()
560 llvm::MDNode *mdNode = ThreadableMetadata->getOperand(0); in readThreadableFlag()
578 llvm::MDNode *mdNode = ChecksumMetadata->getOperand(0); in readBuildChecksumMetadata()
/frameworks/compile/libbcc/lib/Renderscript/
DRSScriptGroupFusion.cpp306 llvm::MDNode* nameMDNode = llvm::MDNode::get(ctxt, nameMDStr); in fuseKernels()
313 llvm::MDNode* sigMDNode = llvm::MDNode::get(ctxt, sigMDStr); in fuseKernels()
349 llvm::MDNode* nodeMD = llvm::MDNode::get(module->getContext(), strMD); in renameInvoke()
DRSAddDebugInfoPass.cpp112 for (llvm::MDNode* CUNode : mdCompileUnitList->operands()) { in initializeDebugInfo()
242 llvm::SmallVector<llvm::MDNode*, 4> unitsTmp; in cleanupDebugInfo()
245 for (llvm::MDNode *cu : debugMD->operands()) in cleanupDebugInfo()
250 for (llvm::MDNode *cu : unitsTmp) in cleanupDebugInfo()
DRSInvariant.cpp71 EmptyMDNode = llvm::MDNode::get(M.getContext(), llvm::None); in doInitialization()
138 llvm::MDNode *EmptyMDNode;
DRSIsThreadablePass.cpp117 node->addOperand(llvm::MDNode::get(context, val)); in runOnModule()
DRSKernelExpand.cpp148 llvm::MDNode *SigNode = ExportForEachMetadata->getOperand(0); in getRootSignature()
617 llvm::MDNode *TBAAPointer, in ExpandInputsLoopInvariant()
699 llvm::MDNode *TBAAAllocation, in ExpandInputsBody()
928 llvm::MDNode *TBAARenderScriptDistinct, *TBAARenderScript, in ExpandForEach()
1127 llvm::MDNode *TBAARenderScriptDistinct, *TBAARenderScript, in ExpandReduceAccumulator()
1337 llvm::MDNode *TBAARenderScriptDistinct = in connectRenderScriptTBAAMetadata()
1339 llvm::MDNode *TBAARenderScript = MDHelper.createTBAANode( in connectRenderScriptTBAAMetadata()
1341 llvm::MDNode *TBAARoot = MDHelper.createTBAARoot("Simple C/C++ TBAA"); in connectRenderScriptTBAAMetadata()
/frameworks/compile/slang/
Dslang_backend.cpp282 llvm::MDNode::get(mLLVMContext, Pragma)); in HandleTranslationUnit()
579 llvm::MDNode::get(mLLVMContext, ExportVarInfo)); in dumpExportVarInfo()
588 mRSObjectSlotsMetadata->addOperand(llvm::MDNode::get(mLLVMContext, in dumpExportVarInfo()
732 llvm::MDNode::get(mLLVMContext, ExportFuncInfo)); in dumpExportFunctionInfo()
761 llvm::MDNode::get(mLLVMContext, ExportForEachName)); in dumpExportForEachInfo()
769 llvm::MDNode::get(mLLVMContext, ExportForEachInfo)); in dumpExportForEachInfo()
852 llvm::MDNode::get(mLLVMContext, ExportTypeInfo)); in dumpExportTypeInfo()
879 llvm::MDNode::get(mLLVMContext, FieldInfo)); in dumpExportTypeInfo()
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.h32 class MDNode; variable
180 void EnumerateMDNodeOperands(const llvm::MDNode *N);
DValueEnumerator.cpp78 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator()
251 void ValueEnumerator::EnumerateMDNodeOperands(const MDNode *N) { in EnumerateMDNodeOperands()
263 (isa<MDNode>(MD) || isa<MDString>(MD) || isa<ConstantAsMetadata>(MD)) && in EnumerateMetadata()
274 if (auto *N = dyn_cast<MDNode>(MD)) in EnumerateMetadata()
DBitcodeWriter.cpp647 if (const MDNode *N = dyn_cast<MDNode>(MD)) { in WriteModuleMetadata()
681 for (const MDNode *N : NMD.operands()) in WriteModuleMetadata()
719 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment()
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.h32 class MDNode; variable
180 void EnumerateMDNodeOperands(const llvm::MDNode *N);
DValueEnumerator.cpp78 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator()
251 void ValueEnumerator::EnumerateMDNodeOperands(const MDNode *N) { in EnumerateMDNodeOperands()
263 (isa<MDNode>(MD) || isa<MDString>(MD) || isa<ConstantAsMetadata>(MD)) && in EnumerateMetadata()
274 if (auto *N = dyn_cast<MDNode>(MD)) in EnumerateMetadata()
DBitcodeWriter.cpp649 if (const MDNode *N = dyn_cast<MDNode>(MD)) { in WriteModuleMetadata()
683 for (const MDNode *N : NMD.operands()) in WriteModuleMetadata()
721 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment()
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.h33 class MDNode; variable
183 void EnumerateMDNodeOperands(const llvm::MDNode *N);
DValueEnumerator.cpp78 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator()
251 void ValueEnumerator::EnumerateMDNodeOperands(const MDNode *N) { in EnumerateMDNodeOperands()
263 (isa<MDNode>(MD) || isa<MDString>(MD) || isa<ConstantAsMetadata>(MD)) && in EnumerateMetadata()
274 if (auto *N = dyn_cast<MDNode>(MD)) in EnumerateMetadata()
DBitcodeWriter.cpp676 if (const MDNode *N = dyn_cast<MDNode>(MD)) { in WriteModuleMetadata()
710 for (const MDNode *N : NMD.operands()) in WriteModuleMetadata()
748 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment()
/frameworks/compile/libbcc/lib/Core/
DSource.cpp198 node->addOperand(llvm::MDNode::get(context, val)); in addBuildChecksumMetadata()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp76 if (!isa<MDNode>(ValueAsMetadata::get(DDI->getArgOperand(0))) || in CheckDebugInfoIntrinsics()
77 !isa<MDNode>(ValueAsMetadata::get(DDI->getArgOperand(1)))) { in CheckDebugInfoIntrinsics()
744 Metadata *MD = MDNode::getTemporary(Context, None).release(); in getValueFwdRef()
760 auto *N = dyn_cast_or_null<MDNode>(MD); in tryToResolveCycles()
1454 MDNode *MD = dyn_cast_or_null<MDNode>(MDValueList.getValueFwdRef(Record[i])); in ParseMetadata()
1496 MDValueList.AssignValue(MDNode::get(Context, Elts), NextMDValueNo++); in ParseMetadata()
2521 Inst->setMetadata(I->second, cast<MDNode>(Node)); in ParseMetadataAttachment()
2640 MDNode *Scope = nullptr, *IA = nullptr; in ParseFunctionBody()
2641 if (ScopeID) Scope = cast<MDNode>(MDValueList.getValueFwdRef(ScopeID-1)); in ParseFunctionBody()
2642 if (IAID) IA = cast<MDNode>(MDValueList.getValueFwdRef(IAID-1)); in ParseFunctionBody()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp317 if (!isa<MDNode>(ValueAsMetadata::get(DDI->getArgOperand(0))) || in CheckDebugInfoIntrinsics()
318 !isa<MDNode>(ValueAsMetadata::get(DDI->getArgOperand(1)))) { in CheckDebugInfoIntrinsics()
1019 Metadata *MD = MDNode::getTemporary(Context, None).release(); in getValueFwdRef()
1035 auto *N = dyn_cast_or_null<MDNode>(MD); in tryToResolveCycles()
1758 MDNode *MD = dyn_cast_or_null<MDNode>(MDValueList.getValueFwdRef(Record[i])); in ParseMetadata()
1789 MDValueList.AssignValue(MDNode::get(Context, Elts), NextMDValueNo++); in ParseMetadata()
2784 Inst->setMetadata(I->second, cast<MDNode>(Node)); in ParseMetadataAttachment()
2901 MDNode *Scope = nullptr, *IA = nullptr; in ParseFunctionBody()
2902 if (ScopeID) Scope = cast<MDNode>(MDValueList.getValueFwdRef(ScopeID-1)); in ParseFunctionBody()
2903 if (IAID) IA = cast<MDNode>(MDValueList.getValueFwdRef(IAID-1)); in ParseFunctionBody()
/frameworks/base/docs/html/ndk/downloads/
Drevision_history.jd1013 <code>llvm-3.2/llvm/include/llvm/MDBuilder.h:64: llvm::MDNode*