Lines Matching refs:LoopAttributes

22 static MDNode *createMetadata(LLVMContext &Ctx, const LoopAttributes &Attrs,  in createMetadata()
27 Attrs.VectorizeEnable == LoopAttributes::Unspecified && in createMetadata()
28 Attrs.UnrollEnable == LoopAttributes::Unspecified && in createMetadata()
29 Attrs.DistributeEnable == LoopAttributes::Unspecified && in createMetadata()
67 if (Attrs.VectorizeEnable != LoopAttributes::Unspecified) { in createMetadata()
71 LoopAttributes::Enable)))}; in createMetadata()
76 if (Attrs.UnrollEnable != LoopAttributes::Unspecified) { in createMetadata()
78 if (Attrs.UnrollEnable == LoopAttributes::Enable) in createMetadata()
80 else if (Attrs.UnrollEnable == LoopAttributes::Full) in createMetadata()
88 if (Attrs.DistributeEnable != LoopAttributes::Unspecified) { in createMetadata()
92 LoopAttributes::Enable)))}; in createMetadata()
102 LoopAttributes::LoopAttributes(bool IsParallel) in LoopAttributes() function in LoopAttributes
103 : IsParallel(IsParallel), VectorizeEnable(LoopAttributes::Unspecified), in LoopAttributes()
104 UnrollEnable(LoopAttributes::Unspecified), VectorizeWidth(0), in LoopAttributes()
106 DistributeEnable(LoopAttributes::Unspecified) {} in LoopAttributes()
108 void LoopAttributes::clear() { in clear()
113 VectorizeEnable = LoopAttributes::Unspecified; in clear()
114 UnrollEnable = LoopAttributes::Unspecified; in clear()
117 LoopInfo::LoopInfo(BasicBlock *Header, const LoopAttributes &Attrs, in LoopInfo()
183 setUnrollState(LoopAttributes::Disable); in push()
202 setUnrollState(LoopAttributes::Enable); in push()
234 setUnrollState(LoopAttributes::Full); in push()