Home
last modified time | relevance | path

Searched refs:LoopID (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp491 MDNode *LoopID = nullptr; in getLoopID() local
503 if (!LoopID) in getLoopID()
504 LoopID = MD; in getLoopID()
505 else if (MD != LoopID) in getLoopID()
508 if (!LoopID || LoopID->getNumOperands() == 0 || in getLoopID()
509 LoopID->getOperand(0) != LoopID) in getLoopID()
511 return LoopID; in getLoopID()
514 void Loop::setLoopID(MDNode *LoopID) const { in setLoopID()
515 assert((!LoopID || LoopID->getNumOperands() > 0) && in setLoopID()
517 assert((!LoopID || LoopID->getOperand(0) == LoopID) && in setLoopID()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp95 if (MDNode *LoopID = L->getLoopID()) in GetUnrollMetadataForLoop() local
96 return GetUnrollMetadata(LoopID, Name); in GetUnrollMetadataForLoop()
103 if (MDNode *LoopID = L->getLoopID()) { in HasAnyUnrollPragma() local
105 assert(LoopID->getNumOperands() > 0 && "requires at least one operand"); in HasAnyUnrollPragma()
106 assert(LoopID->getOperand(0) == LoopID && "invalid loop id"); in HasAnyUnrollPragma()
108 for (unsigned i = 1, e = LoopID->getNumOperands(); i < e; ++i) { in HasAnyUnrollPragma()
109 MDNode *MD = dyn_cast<MDNode>(LoopID->getOperand(i)); in HasAnyUnrollPragma()
DLoopUnrollPass.cpp669 if (MDNode *LoopID = L->getLoopID()) in GetUnrollMetadataForLoop() local
670 return GetUnrollMetadata(LoopID, Name); in GetUnrollMetadataForLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp100 MDNode *LoopID = TheLoop->getLoopID(); in setAlreadyVectorized() local
102 makePostTransformationMetadata(Context, LoopID, in setAlreadyVectorized()
182 MDNode *LoopID = TheLoop->getLoopID(); in getHintsFromMetadata() local
183 if (!LoopID) in getHintsFromMetadata()
187 assert(LoopID->getNumOperands() > 0 && "requires at least one operand"); in getHintsFromMetadata()
188 assert(LoopID->getOperand(0) == LoopID && "invalid loop id"); in getHintsFromMetadata()
190 for (unsigned i = 1, ie = LoopID->getNumOperands(); i < ie; ++i) { in getHintsFromMetadata()
196 if (const MDNode *MD = dyn_cast<MDNode>(LoopID->getOperand(i))) { in getHintsFromMetadata()
203 S = dyn_cast<MDString>(LoopID->getOperand(i)); in getHintsFromMetadata()
DLoopVectorize.cpp6647 MDNode *LoopID = L->getLoopID(); in AddRuntimeUnrollDisableMetaData() local
6648 if (LoopID) { in AddRuntimeUnrollDisableMetaData()
6650 for (unsigned i = 1, ie = LoopID->getNumOperands(); i < ie; ++i) { in AddRuntimeUnrollDisableMetaData()
6651 auto *MD = dyn_cast<MDNode>(LoopID->getOperand(i)); in AddRuntimeUnrollDisableMetaData()
6657 MDs.push_back(LoopID->getOperand(i)); in AddRuntimeUnrollDisableMetaData()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp963 MDNode *llvm::GetUnrollMetadata(MDNode *LoopID, StringRef Name) { in GetUnrollMetadata() argument
965 assert(LoopID->getNumOperands() > 0 && "requires at least one operand"); in GetUnrollMetadata()
966 assert(LoopID->getOperand(0) == LoopID && "invalid loop id"); in GetUnrollMetadata()
968 for (unsigned i = 1, e = LoopID->getNumOperands(); i < e; ++i) { in GetUnrollMetadata()
969 MDNode *MD = dyn_cast<MDNode>(LoopID->getOperand(i)); in GetUnrollMetadata()
DLoopUtils.cpp215 MDNode *LoopID = TheLoop->getLoopID(); in addStringMetadataToLoop() local
216 if (LoopID) { in addStringMetadataToLoop()
217 for (unsigned i = 1, ie = LoopID->getNumOperands(); i < ie; ++i) { in addStringMetadataToLoop()
218 MDNode *Node = cast<MDNode>(LoopID->getOperand(i)); in addStringMetadataToLoop()
DLoopUnrollRuntime.cpp401 MDNode *LoopID = NewLoop->getLoopID(); in CloneLoopBlocks() local
409 LoopID, {LLVMLoopUnrollFollowupAll, LLVMLoopUnrollFollowupRemainder}); in CloneLoopBlocks()
DInlineFunction.cpp1418 if (MDNode *LoopID = BI->getMetadata(LLVMContext::MD_loop)) { in fixupLineNumbers() local
1420 inlineLoopID(LoopID, InlinedAtNode, BI->getContext(), IANodes); in fixupLineNumbers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugInfo.cpp308 MDNode *LoopID = MDNode::get(N->getContext(), Args); in stripDebugLocFromLoopID() local
309 LoopID->replaceOperandWith(0, LoopID); in stripDebugLocFromLoopID()
310 return LoopID; in stripDebugLocFromLoopID()
339 if (auto *LoopID = TermInst->getMetadata(LLVMContext::MD_loop)) { in stripDebugInfo() local
340 auto *NewLoopID = LoopIDsMap.lookup(LoopID); in stripDebugInfo()
342 NewLoopID = LoopIDsMap[LoopID] = stripDebugLocFromLoopID(LoopID); in stripDebugInfo()
343 if (NewLoopID != LoopID) in stripDebugInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h128 MDNode *GetUnrollMetadata(MDNode *LoopID, StringRef Name);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachinePipeliner.cpp275 MDNode *LoopID = TI->getMetadata(LLVMContext::MD_loop); in setPragmaPipelineOptions() local
276 if (LoopID == nullptr) in setPragmaPipelineOptions()
279 assert(LoopID->getNumOperands() > 0 && "requires atleast one operand"); in setPragmaPipelineOptions()
280 assert(LoopID->getOperand(0) == LoopID && "invalid loop"); in setPragmaPipelineOptions()
282 for (unsigned i = 1, e = LoopID->getNumOperands(); i < e; ++i) { in setPragmaPipelineOptions()
283 MDNode *MD = dyn_cast<MDNode>(LoopID->getOperand(i)); in setPragmaPipelineOptions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfo.h815 void setLoopID(MDNode *LoopID) const;
1247 MDNode *findOptionMDForLoopID(MDNode *LoopID, StringRef Name);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp427 if (MDNode *LoopID = in isLoopHeaderOfNoUnroll() local
429 if (GetUnrollMetadata(LoopID, "llvm.loop.unroll.disable")) in isLoopHeaderOfNoUnroll()