• Home
  • Raw
  • Download

Lines Matching refs:FPI

486   void visitConstrainedFPIntrinsic(ConstrainedFPIntrinsic &FPI);
501 void visitFuncletPadInst(FuncletPadInst &FPI);
3795 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad)) in getParentPad() local
3796 return FPI->getParentPad(); in getParentPad()
3979 void Verifier::visitFuncletPadInst(FuncletPadInst &FPI) { in visitFuncletPadInst() argument
3982 SmallVector<FuncletPadInst *, 8> Worklist({&FPI}); in visitFuncletPadInst()
4037 if (ExitedPad == &FPI) { in visitFuncletPadInst()
4042 UnresolvedAncestorPad = &FPI; in visitFuncletPadInst()
4057 UnwindPad = ConstantTokenNone::get(FPI.getContext()); in visitFuncletPadInst()
4059 UnresolvedAncestorPad = &FPI; in visitFuncletPadInst()
4069 &FPI, U, FirstUser); in visitFuncletPadInst()
4074 if (isa<CleanupPadInst>(&FPI) && !isa<ConstantTokenNone>(UnwindPad) && in visitFuncletPadInst()
4075 getParentPad(UnwindPad) == getParentPad(&FPI)) in visitFuncletPadInst()
4076 SiblingFuncletInfo[&FPI] = cast<Instruction>(U); in visitFuncletPadInst()
4081 if (CurrentPad != &FPI) in visitFuncletPadInst()
4089 assert(CurrentPad == &FPI); in visitFuncletPadInst()
4121 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FPI.getParentPad())) { in visitFuncletPadInst()
4127 SwitchUnwindPad = ConstantTokenNone::get(FPI.getContext()); in visitFuncletPadInst()
4131 &FPI, FirstUser, CatchSwitch); in visitFuncletPadInst()
4135 visitInstruction(FPI); in visitFuncletPadInst()
5183 void Verifier::visitConstrainedFPIntrinsic(ConstrainedFPIntrinsic &FPI) { in visitConstrainedFPIntrinsic() argument
5186 switch (FPI.getIntrinsicID()) { in visitConstrainedFPIntrinsic()
5198 if (isa<ConstrainedFPCmpIntrinsic>(FPI)) in visitConstrainedFPIntrinsic()
5200 Assert((FPI.getNumArgOperands() == NumOperands), in visitConstrainedFPIntrinsic()
5201 "invalid arguments for constrained FP intrinsic", &FPI); in visitConstrainedFPIntrinsic()
5203 switch (FPI.getIntrinsicID()) { in visitConstrainedFPIntrinsic()
5206 Type *ValTy = FPI.getArgOperand(0)->getType(); in visitConstrainedFPIntrinsic()
5207 Type *ResultTy = FPI.getType(); in visitConstrainedFPIntrinsic()
5209 "Intrinsic does not support vectors", &FPI); in visitConstrainedFPIntrinsic()
5215 Type *ValTy = FPI.getArgOperand(0)->getType(); in visitConstrainedFPIntrinsic()
5216 Type *ResultTy = FPI.getType(); in visitConstrainedFPIntrinsic()
5218 "Intrinsic does not support vectors", &FPI); in visitConstrainedFPIntrinsic()
5224 auto Pred = cast<ConstrainedFPCmpIntrinsic>(&FPI)->getPredicate(); in visitConstrainedFPIntrinsic()
5226 "invalid predicate for constrained FP comparison intrinsic", &FPI); in visitConstrainedFPIntrinsic()
5232 Value *Operand = FPI.getArgOperand(0); in visitConstrainedFPIntrinsic()
5235 "Intrinsic first argument must be floating point", &FPI); in visitConstrainedFPIntrinsic()
5240 Operand = &FPI; in visitConstrainedFPIntrinsic()
5242 "Intrinsic first argument and result disagree on vector use", &FPI); in visitConstrainedFPIntrinsic()
5244 "Intrinsic result must be an integer", &FPI); in visitConstrainedFPIntrinsic()
5248 &FPI); in visitConstrainedFPIntrinsic()
5255 Value *Operand = FPI.getArgOperand(0); in visitConstrainedFPIntrinsic()
5258 "Intrinsic first argument must be integer", &FPI); in visitConstrainedFPIntrinsic()
5263 Operand = &FPI; in visitConstrainedFPIntrinsic()
5265 "Intrinsic first argument and result disagree on vector use", &FPI); in visitConstrainedFPIntrinsic()
5267 "Intrinsic result must be a floating point", &FPI); in visitConstrainedFPIntrinsic()
5271 &FPI); in visitConstrainedFPIntrinsic()
5277 Value *Operand = FPI.getArgOperand(0); in visitConstrainedFPIntrinsic()
5279 Value *Result = &FPI; in visitConstrainedFPIntrinsic()
5282 "Intrinsic first argument must be FP or FP vector", &FPI); in visitConstrainedFPIntrinsic()
5284 "Intrinsic result must be FP or FP vector", &FPI); in visitConstrainedFPIntrinsic()
5286 "Intrinsic first argument and result disagree on vector use", &FPI); in visitConstrainedFPIntrinsic()
5291 &FPI); in visitConstrainedFPIntrinsic()
5293 if (FPI.getIntrinsicID() == Intrinsic::experimental_constrained_fptrunc) { in visitConstrainedFPIntrinsic()
5296 &FPI); in visitConstrainedFPIntrinsic()
5300 &FPI); in visitConstrainedFPIntrinsic()
5314 Assert(FPI.getExceptionBehavior().hasValue(), in visitConstrainedFPIntrinsic()
5315 "invalid exception behavior argument", &FPI); in visitConstrainedFPIntrinsic()
5317 Assert(FPI.getRoundingMode().hasValue(), in visitConstrainedFPIntrinsic()
5318 "invalid rounding mode argument", &FPI); in visitConstrainedFPIntrinsic()