Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Ctx

22 static MDNode *createMetadata(LLVMContext &Ctx, const LoopAttributes &Attrs,
35 auto TempNode = MDNode::getTemporary(Ctx, None);
44 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.width"),
46 Type::getInt32Ty(Ctx), Attrs.VectorizeWidth))};
47 Args.push_back(MDNode::get(Ctx, Vals));
52 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.interleave.count"),
54 Type::getInt32Ty(Ctx), Attrs.InterleaveCount))};
55 Args.push_back(MDNode::get(Ctx, Vals));
60 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.count"),
62 Type::getInt32Ty(Ctx), Attrs.UnrollCount))};
63 Args.push_back(MDNode::get(Ctx, Vals));
68 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.enable"),
70 Type::getInt1Ty(Ctx), (Attrs.VectorizeEnable ==
72 Args.push_back(MDNode::get(Ctx, Vals));
84 Metadata *Vals[] = {MDString::get(Ctx, Name)};
85 Args.push_back(MDNode::get(Ctx, Vals));
89 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.distribute.enable"),
91 Type::getInt1Ty(Ctx), (Attrs.DistributeEnable ==
93 Args.push_back(MDNode::get(Ctx, Vals));
97 MDNode *LoopID = MDNode::get(Ctx, Args);
129 void LoopInfoStack::push(BasicBlock *Header, clang::ASTContext &Ctx,
164 llvm::APSInt ValueAPS = ValueExpr->EvaluateKnownConstInt(Ctx);