Lines Matching defs:Ctx

26   LLVMContext &Ctx = Header->getContext();
31 MDNode *LoopID = MDNode::getDistinct(Ctx, NewLoopProperties);
39 LLVMContext &Ctx = Header->getContext();
52 MDNode::get(Ctx, {MDString::get(Ctx, "llvm.loop.pipeline.disable"),
54 llvm::Type::getInt1Ty(Ctx), 1))}));
66 MDString::get(Ctx, "llvm.loop.pipeline.initiationinterval"),
68 llvm::Type::getInt32Ty(Ctx), Attrs.PipelineInitiationInterval))};
69 Args.push_back(MDNode::get(Ctx, Vals));
74 MDNode *LoopID = MDNode::getDistinct(Ctx, Args);
84 LLVMContext &Ctx = Header->getContext();
108 MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.unroll.disable")));
120 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.count"),
122 llvm::Type::getInt32Ty(Ctx), Attrs.UnrollCount))};
123 Args.push_back(MDNode::get(Ctx, Vals));
128 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.enable")};
129 Args.push_back(MDNode::get(Ctx, Vals));
134 Ctx, {MDString::get(Ctx, "llvm.loop.unroll.followup_all"), Followup}));
136 MDNode *LoopID = MDNode::getDistinct(Ctx, Args);
146 LLVMContext &Ctx = Header->getContext();
160 Ctx, MDString::get(Ctx, "llvm.loop.unroll_and_jam.disable")));
170 MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.unroll_and_jam.disable")));
183 MDString::get(Ctx, "llvm.loop.unroll_and_jam.count"),
184 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx),
186 Args.push_back(MDNode::get(Ctx, Vals));
190 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll_and_jam.enable")};
191 Args.push_back(MDNode::get(Ctx, Vals));
196 Ctx, {MDString::get(Ctx, "llvm.loop.unroll_and_jam.followup_outer"),
201 Ctx, {MDString::get(Ctx, "llvm.loop.unroll_and_jam.followup_inner"),
204 MDNode *LoopID = MDNode::getDistinct(Ctx, Args);
214 LLVMContext &Ctx = Header->getContext();
230 MDNode::get(Ctx, {MDString::get(Ctx, "llvm.loop.vectorize.enable"),
232 llvm::Type::getInt1Ty(Ctx), 0))}));
244 MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.isvectorized")));
262 MDString::get(Ctx, "llvm.loop.vectorize.predicate.enable"),
263 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt1Ty(Ctx),
265 Args.push_back(MDNode::get(Ctx, Vals));
271 MDString::get(Ctx, "llvm.loop.vectorize.width"),
272 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx),
275 Args.push_back(MDNode::get(Ctx, Vals));
281 MDString::get(Ctx, "llvm.loop.vectorize.scalable.enable"),
283 ConstantInt::get(llvm::Type::getInt1Ty(Ctx), IsScalable))};
284 Args.push_back(MDNode::get(Ctx, Vals));
290 MDString::get(Ctx, "llvm.loop.interleave.count"),
291 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx),
293 Args.push_back(MDNode::get(Ctx, Vals));
312 MDNode::get(Ctx, {MDString::get(Ctx, "llvm.loop.vectorize.enable"),
314 llvm::Type::getInt1Ty(Ctx), AttrVal))}));
319 Ctx,
320 {MDString::get(Ctx, "llvm.loop.vectorize.followup_all"), Followup}));
322 MDNode *LoopID = MDNode::getDistinct(Ctx, Args);
332 LLVMContext &Ctx = Header->getContext();
345 MDNode::get(Ctx, {MDString::get(Ctx, "llvm.loop.distribute.enable"),
347 llvm::Type::getInt1Ty(Ctx), 0))}));
362 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.distribute.enable"),
364 llvm::Type::getInt1Ty(Ctx),
366 Args.push_back(MDNode::get(Ctx, Vals));
370 Ctx,
371 {MDString::get(Ctx, "llvm.loop.distribute.followup_all"), Followup}));
373 MDNode *LoopID = MDNode::getDistinct(Ctx, Args);
382 LLVMContext &Ctx = Header->getContext();
395 MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.unroll.disable")));
405 Args.push_back(MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.unroll.full")));
410 MDNode *LoopID = MDNode::getDistinct(Ctx, Args);
431 LLVMContext &Ctx = Header->getContext();
434 MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.mustprogress")));
440 Ctx, {MDString::get(Ctx, "llvm.loop.parallel_accesses"), AccGroup}));
445 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.align"),
447 llvm::Type::getInt32Ty(Ctx), Attrs.CodeAlign))};
448 LoopProperties.push_back(MDNode::get(Ctx, Vals));
492 LLVMContext &Ctx = Header->getContext();
493 AccGroup = MDNode::getDistinct(Ctx, {});
520 LLVMContext &Ctx = Header->getContext();
579 MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.isvectorized")));
605 void LoopInfoStack::push(BasicBlock *Header, clang::ASTContext &Ctx,
652 llvm::APSInt ValueAPS = ValueExpr->EvaluateKnownConstInt(Ctx);