Searched refs:IsInc (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 608 bool IsInc); 2498 llvm::Value *InVal, bool IsInc, in createBinOpInfoFromIncDec() argument 2504 BinOp.Opcode = IsInc ? BO_Add : BO_Sub; in createBinOpInfoFromIncDec() 2511 const UnaryOperator *E, llvm::Value *InVal, bool IsInc) { in EmitIncDecConsiderOverflowBehavior() argument 2513 llvm::ConstantInt::get(InVal->getType(), IsInc ? 1 : -1, true); in EmitIncDecConsiderOverflowBehavior() 2514 StringRef Name = IsInc ? "inc" : "dec"; in EmitIncDecConsiderOverflowBehavior() 2526 E, InVal, IsInc, E->getFPFeaturesInEffect(CGF.getLangOpts()))); in EmitIncDecConsiderOverflowBehavior()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelDAGToDAGHVX.cpp | 2482 bool IsInc = I == E - 1 || SwapElems[I] < SwapElems[I + 1]; in perfect() local 2485 while (++I < E - 1 && IsInc == (SwapElems[I] < SwapElems[I + 1])) in perfect() 2495 Res.Opc = IsInc ? Hexagon::V6_vshuffvdd : Hexagon::V6_vdealvdd; in perfect()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 2297 const bool IsInc = Name.starts_with("atomic.inc."); in upgradeAMDGCNIntrinsicCall() local 2298 if (IsInc || Name.starts_with("atomic.dec.")) { in upgradeAMDGCNIntrinsicCall() 2303 IsInc ? AtomicRMWInst::UIncWrap : AtomicRMWInst::UDecWrap; in upgradeAMDGCNIntrinsicCall()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 14817 bool IsInc, bool IsPrefix) { in CheckIncrementDecrementOperand() argument 14832 if (!IsInc) { in CheckIncrementDecrementOperand() 14842 S.Diag(OpLoc, diag::err_increment_decrement_enum) << IsInc << ResType; in CheckIncrementDecrementOperand() 14864 IsInc, IsPrefix); in CheckIncrementDecrementOperand() 14876 << ResType << int(IsInc) << Op->getSourceRange(); in CheckIncrementDecrementOperand() 14887 << IsInc << ResType; in CheckIncrementDecrementOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 22976 static SDValue incDecVectorConstant(SDValue V, SelectionDAG &DAG, bool IsInc, in incDecVectorConstant() argument 22994 if ((IsInc && EltC.isMaxValue()) || (!IsInc && EltC.isZero())) in incDecVectorConstant() 22996 if (NSW && ((IsInc && EltC.isMaxSignedValue()) || in incDecVectorConstant() 22997 (!IsInc && EltC.isMinSignedValue()))) in incDecVectorConstant() 23000 NewVecC.push_back(DAG.getConstant(EltC + (IsInc ? 1 : -1), DL, EltVT)); in incDecVectorConstant()
|