/frameworks/compile/libbcc/bcinfo/ |
D | MetadataExtractor.cpp | 70 const char *createStringFromOptionalValue(llvm::MDNode *n, unsigned opndNum) { in createStringFromOptionalValue() 117 llvm::MDNode *Name = NameMetadata->getOperand(i); in populateNameMetadata() 211 const llvm::MDNode *const wrapperMDTuple = wrapperMDNode->getOperand(0); in MetadataExtractor() 295 llvm::MDNode *ObjectSlot = ObjectSlotMetadata->getOperand(i); in populateObjectSlotMetadata() 328 llvm::MDNode *Pragma = PragmaMetadata->getOperand(i); in populatePragmaMetadata() 447 llvm::MDNode *SigNode = Signatures->getOperand(i); in populateForEachMetadata() 461 llvm::MDNode *Name = Names->getOperand(i); in populateForEachMetadata() 513 llvm::MDNode *Node = ReduceMetadata->getOperand(i); in populateReduceMetadata() 527 llvm::MDNode *AccumulatorNode = llvm::dyn_cast<llvm::MDNode>(Node->getOperand(2)); in populateReduceMetadata() 573 llvm::MDNode *mdNode = ThreadableMetadata->getOperand(0); in readThreadableFlag() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | RSScriptGroupFusion.cpp | 306 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()
|
D | RSInvariant.cpp | 71 EmptyMDNode = llvm::MDNode::get(M.getContext(), llvm::None); in doInitialization() 138 llvm::MDNode *EmptyMDNode;
|
D | RSAddDebugInfoPass.cpp | 133 for (llvm::MDNode* CUNode : mdCompileUnitList->operands()) { in initializeDebugInfo() 264 llvm::SmallVector<llvm::MDNode*, 4> unitsTmp; in cleanupDebugInfo() 267 for (llvm::MDNode *cu : debugMD->operands()) in cleanupDebugInfo() 272 for (llvm::MDNode *cu : unitsTmp) in cleanupDebugInfo()
|
D | RSIsThreadablePass.cpp | 117 node->addOperand(llvm::MDNode::get(context, val)); in runOnModule()
|
D | RSKernelExpand.cpp | 171 llvm::MDNode *SigNode = ExportForEachMetadata->getOperand(0); in getRootSignature() 640 llvm::MDNode *TBAAPointer, in ExpandInputsLoopInvariant() 722 llvm::MDNode *TBAAAllocation, in ExpandInputsBody() 951 llvm::MDNode *TBAARenderScriptDistinct, *TBAARenderScript, in ExpandForEach() 1150 llvm::MDNode *TBAARenderScriptDistinct, *TBAARenderScript, in ExpandReduceAccumulator() 1360 llvm::MDNode *TBAARenderScriptDistinct = in connectRenderScriptTBAAMetadata() 1362 llvm::MDNode *TBAARenderScript = MDHelper.createTBAANode( in connectRenderScriptTBAAMetadata() 1364 llvm::MDNode *TBAARoot = MDHelper.createTBAARoot("Simple C/C++ TBAA"); in connectRenderScriptTBAAMetadata()
|
D | Source.cpp | 233 node->addOperand(llvm::MDNode::get(context, val)); in addBuildChecksumMetadata()
|
D | Compiler.cpp | 70 for (const llvm::MDNode *const exportedTypeMD : exportedTypesMD->operands()) { in validateLayoutOfExportedTypes()
|
/frameworks/compile/slang/ |
D | slang_backend.cpp | 103 llvm::MDNode::get(ctx, llvm::ArrayRef<llvm::Metadata *>(ver))); in runOnModule() 319 llvm::MDNode::get(mLLVMContext, Pragma)); in HandleTranslationUnit() 818 llvm::MDNode::get(mLLVMContext, ExportVarInfo)); in dumpExportVarInfo() 827 mRSObjectSlotsMetadata->addOperand(llvm::MDNode::get(mLLVMContext, in dumpExportVarInfo() 1045 llvm::MDNode::get(mLLVMContext, ExportFuncInfo)); in dumpExportFunctionInfo() 1074 llvm::MDNode::get(mLLVMContext, ExportForEachName)); in dumpExportForEachInfo() 1082 llvm::MDNode::get(mLLVMContext, ExportForEachInfo)); in dumpExportForEachInfo() 1165 llvm::MDNode::get(mLLVMContext, ExportTypeInfo)); in dumpExportTypeInfo() 1192 llvm::MDNode::get(mLLVMContext, FieldInfo)); in dumpExportTypeInfo()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.h | 32 class MDNode; variable 180 void EnumerateMDNodeOperands(const llvm::MDNode *N);
|
D | ValueEnumerator.cpp | 78 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()
|
D | BitcodeWriter.cpp | 649 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_2_9_func/ |
D | ValueEnumerator.h | 32 class MDNode; variable 180 void EnumerateMDNodeOperands(const llvm::MDNode *N);
|
D | ValueEnumerator.cpp | 78 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()
|
D | BitcodeWriter.cpp | 647 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_3_2/ |
D | ValueEnumerator.h | 33 class MDNode; variable 183 void EnumerateMDNodeOperands(const llvm::MDNode *N);
|
D | ValueEnumerator.cpp | 78 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()
|
D | BitcodeWriter.cpp | 677 if (const MDNode *N = dyn_cast<MDNode>(MD)) { in WriteModuleMetadata() 711 for (const MDNode *N : NMD.operands()) in WriteModuleMetadata() 749 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 76 if (!isa<MDNode>(ValueAsMetadata::get(DDI->getArgOperand(0))) || in CheckDebugInfoIntrinsics() 77 !isa<MDNode>(ValueAsMetadata::get(DDI->getArgOperand(1)))) { in CheckDebugInfoIntrinsics() 753 Metadata *MD = MDNode::getTemporary(Context, None).release(); in getValueFwdRef() 769 auto *N = dyn_cast_or_null<MDNode>(MD); in tryToResolveCycles() 1463 MDNode *MD = dyn_cast_or_null<MDNode>(MDValueList.getValueFwdRef(Record[i])); in ParseMetadata() 1505 MDValueList.AssignValue(MDNode::get(Context, Elts), NextMDValueNo++); in ParseMetadata() 2533 Inst->setMetadata(I->second, cast<MDNode>(Node)); in ParseMetadataAttachment() 2652 MDNode *Scope = nullptr, *IA = nullptr; in ParseFunctionBody() 2653 if (ScopeID) Scope = cast<MDNode>(MDValueList.getValueFwdRef(ScopeID-1)); in ParseFunctionBody() 2654 if (IAID) IA = cast<MDNode>(MDValueList.getValueFwdRef(IAID-1)); in ParseFunctionBody()
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 317 if (!isa<MDNode>(ValueAsMetadata::get(DDI->getArgOperand(0))) || in CheckDebugInfoIntrinsics() 318 !isa<MDNode>(ValueAsMetadata::get(DDI->getArgOperand(1)))) { in CheckDebugInfoIntrinsics() 1028 Metadata *MD = MDNode::getTemporary(Context, None).release(); in getValueFwdRef() 1044 auto *N = dyn_cast_or_null<MDNode>(MD); in tryToResolveCycles() 1767 MDNode *MD = dyn_cast_or_null<MDNode>(MDValueList.getValueFwdRef(Record[i])); in ParseMetadata() 1798 MDValueList.AssignValue(MDNode::get(Context, Elts), NextMDValueNo++); in ParseMetadata() 2796 Inst->setMetadata(I->second, cast<MDNode>(Node)); in ParseMetadataAttachment() 2913 MDNode *Scope = nullptr, *IA = nullptr; in ParseFunctionBody() 2914 if (ScopeID) Scope = cast<MDNode>(MDValueList.getValueFwdRef(ScopeID-1)); in ParseFunctionBody() 2915 if (IAID) IA = cast<MDNode>(MDValueList.getValueFwdRef(IAID-1)); in ParseFunctionBody()
|