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()
26 Attrs.VectorizeEnable == LoopAttributes::Unspecified && in createMetadata()
27 Attrs.UnrollEnable == LoopAttributes::Unspecified) in createMetadata()
60 if (Attrs.VectorizeEnable != LoopAttributes::Unspecified) { in createMetadata()
64 LoopAttributes::Enable)))}; in createMetadata()
69 if (Attrs.UnrollEnable != LoopAttributes::Unspecified) { in createMetadata()
71 if (Attrs.UnrollEnable == LoopAttributes::Enable) in createMetadata()
73 else if (Attrs.UnrollEnable == LoopAttributes::Full) in createMetadata()
87 LoopAttributes::LoopAttributes(bool IsParallel) in LoopAttributes() function in LoopAttributes
88 : IsParallel(IsParallel), VectorizeEnable(LoopAttributes::Unspecified), in LoopAttributes()
[all …]
DCGLoopInfo.h36 struct LoopAttributes { struct
37 explicit LoopAttributes(bool IsParallel = false);
66 LoopInfo(llvm::BasicBlock *Header, const LoopAttributes &Attrs); argument
75 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes()
83 LoopAttributes Attrs;
126 Enable ? LoopAttributes::Enable : LoopAttributes::Disable;
130 void setUnrollState(const LoopAttributes::LVEnableState &State) { in setUnrollState()
150 LoopAttributes StagedAttrs;