Searched refs:LoopID (Results 1 - 7 of 7) sorted by relevance

/external/clang/lib/CodeGen/
H A DCGLoopInfo.cpp57 MDNode *LoopID = MDNode::get(Ctx, Args); local
58 assert(LoopID->use_empty() && "LoopID should not be used");
61 LoopID->replaceOperandWith(0, LoopID);
63 return LoopID;
78 : LoopID(nullptr), Header(Header), Attrs(Attrs) {
79 LoopID = createMetadata(Header->getContext(), Attrs);
H A DCGLoopInfo.h60 llvm::MDNode *getLoopID() const { return LoopID; }
70 llvm::MDNode *LoopID; member in class:clang::CodeGen::LoopInfo
H A DCGStmt.cpp622 llvm::MDNode *LoopID = llvm::MDNode::get(Context, Metadata); local
623 LoopID->replaceOperandWith(0, LoopID); // First op points to itself.
625 CondBr->setMetadata("llvm.loop", LoopID);
/external/llvm/lib/Analysis/
H A DLoopInfo.cpp235 MDNode *LoopID = nullptr; local
237 LoopID = getLoopLatch()->getTerminator()->getMetadata(LoopMDName);
256 if (!LoopID)
257 LoopID = MD;
258 else if (MD != LoopID)
262 if (!LoopID || LoopID->getNumOperands() == 0 ||
263 LoopID->getOperand(0) != LoopID)
265 return LoopID;
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp227 MDNode *LoopID = L->getLoopID(); local
228 if (!LoopID) return nullptr;
231 assert(LoopID->getNumOperands() > 0 && "requires at least one operand");
232 assert(LoopID->getOperand(0) == LoopID && "invalid loop id");
234 for (unsigned i = 1, e = LoopID->getNumOperands(); i < e; ++i) {
235 const MDNode *MD = dyn_cast<MDNode>(LoopID->getOperand(i));
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp935 LoopID(L->getLoopID()) {
964 if (LoopID)
965 for (unsigned i = 1, ie = LoopID->getNumOperands(); i < ie; ++i)
966 Vals.push_back(LoopID->getOperand(i));
976 if (LoopID)
977 LoopID->replaceAllUsesWith(NewLoopID);
979 LoopID = NewLoopID;
1008 MDNode *getLoopID() const { return LoopID; }
1013 if (!LoopID)
1017 assert(LoopID
1086 MDNode *LoopID; member in class:__anon26368::LoopVectorizeHints
[all...]
/external/llvm/include/llvm/Analysis/
H A DLoopInfo.h433 /// The LoopID metadata node will be added to each terminator instruction in
436 /// The LoopID metadata node should have one or more operands and the first
438 void setLoopID(MDNode *LoopID) const;

Completed in 300 milliseconds