Lines Matching refs:LoopID
241 MDNode *LoopID = 0;
243 LoopID = getLoopLatch()->getTerminator()->getMetadata(LoopMDName);
262 if (!LoopID)
263 LoopID = MD;
264 else if (MD != LoopID)
268 if (!LoopID || LoopID->getNumOperands() == 0 ||
269 LoopID->getOperand(0) != LoopID)
271 return LoopID;
274 void Loop::setLoopID(MDNode *LoopID) const {
275 assert(LoopID && "Loop ID should not be null");
276 assert(LoopID->getNumOperands() > 0 && "Loop ID needs at least one operand");
277 assert(LoopID->getOperand(0) == LoopID && "Loop ID should refer to itself");
280 getLoopLatch()->getTerminator()->setMetadata(LoopMDName, LoopID);
289 TI->setMetadata(LoopMDName, LoopID);