Home
last modified time | relevance | path

Searched refs:LoopAttributes (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/CodeGen/
DCGLoopInfo.cpp22 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()
[all …]
DCGLoopInfo.h37 struct LoopAttributes { struct
38 explicit LoopAttributes(bool IsParallel = false);
70 LoopInfo(llvm::BasicBlock *Header, const LoopAttributes &Attrs, argument
80 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes()
88 LoopAttributes Attrs;
133 Enable ? LoopAttributes::Enable : LoopAttributes::Disable;
139 Enable ? LoopAttributes::Enable : LoopAttributes::Disable;
143 void setUnrollState(const LoopAttributes::LVEnableState &State) { in setUnrollState()
163 LoopAttributes StagedAttrs;