Home
last modified time | relevance | path

Searched defs:NewC (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp444 Value *NewC = Builder.CreateBinOp(I.getOpcode(), C, C1); in commonShiftTransforms() local
482 Constant *NewC = ConstantInt::get(Ty, I.getOpcode() == Instruction::Shl in commonShiftTransforms() local
1233 auto *NewC = Builder.CreateShl(ConstantInt::get(Ty, 1), C1); in visitShl() local
1427 auto *NewC = ConstantInt::get( in visitLShr() local
H A DInstCombineCompares.cpp2056 Value *NewC = in foldICmpOrConstant() local
2077 Constant *NewC = ConstantInt::get(Or->getType(), C ^ (*MaskC)); in foldICmpOrConstant() local
2089 Constant *NewC = ConstantInt::get(X->getType(), TrueIfSigned ? 1 : 0); in foldICmpOrConstant() local
2175 Constant *NewC = ConstantInt::get(MulTy, C.sdiv(*MulC)); in foldICmpMulConstant() local
2187 Constant *NewC = ConstantInt::get(MulTy, C.udiv(*MulC)); in foldICmpMulConstant() local
2197 Constant *NewC = nullptr; in foldICmpMulConstant() local
2442 Constant *NewC = in foldICmpShlConstant() local
2491 Constant *NewC = ConstantInt::get(Shr->getType(), CmpLZ - ShiftLZ); in foldICmpShrConstant() local
3069 APInt NewC = in foldICmpAddConstant() local
3404 Value *NewC = ConstantInt::get(EltTy, C->trunc(EltTy->getBitWidth())); in foldICmpBitCast() local
[all …]
H A DInstCombineSimplifyDemanded.cpp676 Constant *NewC = ConstantFoldBinaryOpOperands(Instruction::Shl, C, in SimplifyDemandedUseBits() local
757 Constant *NewC = ConstantFoldBinaryOpOperands(Instruction::LShr, C, in SimplifyDemandedUseBits() local
H A DInstCombineAddSub.cpp824 APInt NewC = *C2 + C1->trunc(C2->getBitWidth()); in foldNoWrapAdd() local
841 Value *NewC = Builder.CreateAdd(WideC, Op1C); in foldNoWrapAdd() local
849 Value *NewC = Builder.CreateAdd(WideC, Op1C); in foldNoWrapAdd() local
1192 APInt NewC = C1 - C2 * C0; in SimplifyAddWithRemainder() local
H A DInstCombineAndOrXor.cpp1328 APInt NewC, Offset; in foldAndOrOfICmpsUsingRanges() local
1943 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp() local
2200 Value *NewC = Builder.CreateBinOp( in foldBinOpOfDisplacedShifts() local
2379 Constant *NewC = ConstantInt::get(Ty, *C & *XorC); in visitAnd() local
3923 APInt NewC = WO->getBinaryOp() == Instruction::Add in visitOr() local
4159 APInt NewC, Offset; in foldXorOfICmps() local
H A DInstCombineMulDivRem.cpp311 Value *NewC = Builder.CreateMul(C1, MulC); in visitMul() local
1784 Constant *C2, *NewC = nullptr; in foldFDivConstantDividend() local
H A DInstCombineCalls.cpp1253 Value *NewC = Builder.CreateSelect(CondC, C0, C1); in reassociateMinMaxWithConstants() local
2178 APInt NewC = in visitCallInst() local
2259 auto *NewC = Builder.CreateBinaryIntrinsic(Intrinsic::usub_sat, C, C1); in visitCallInst() local
H A DInstCombineVectorOps.cpp2189 Constant *NewC = Op0IsBinop ? ConstantExpr::getShuffleVector(C, IdC, Mask) : in foldSelectShuffleWith1Binop() local
2320 Constant *NewC = ConstantExpr::getShuffleVector(C0, C1, Mask); in foldSelectShuffle() local
H A DInstructionCombining.cpp1967 Constant *NewC = ConstantFoldBinaryOpOperands(BO.getOpcode(), C0, C1, DL); in foldBinopWithPhiOperands() local
2192 Constant *NewC = ConstantVector::get(NewVecC); in foldVectorBinop() local
2964 std::optional<APInt> NewC; in visitGetElementPtrInst() local
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyCallGraph.cpp1639 SCC *NewC = nullptr; in addSplitFunction() local
1757 SCC *NewC = createSCC(*NewRC, SmallVector<Node *, 1>({&NewN})); in addSplitRefRecursiveFunctions() local
H A DConstantFolding.cpp1084 Constant *NewC = OldC; in ConstantFoldConstantImpl() local
H A DInstructionSimplify.cpp4930 SmallVector<Constant *, 16> NewC; in simplifySelectInst() local
5571 SmallVector<Constant *, 32> NewC(NumElts); in propagateNaN() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp402 APInt NewC = C1->sadd_ov(*C2, SignedOverflow); in simplifyLoopAfterUnroll() local
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DSandboxIR.cpp737 auto *NewC = It->second.get(); in getOrCreateValueInternal() local
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp782 SmallVector<Constant *, 32> NewC(NumElts); in replaceUndefsWith() local
812 SmallVector<Constant *, 32> NewC(NumElts); in mergeUndefsWith() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1308 Comdat *NewC = M.getOrInsertComdat(NewName); in trySingleImplDevirt() local
H A DGlobalOpt.cpp894 if (Constant *NewC = ConstantFoldInstruction(I, DL, TLI)) { in ConstantPropUsersOf() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2615 if (SDValue NewC = DAG.FoldConstantArithmetic( in foldAddSubOfSignBit() local
3183 SDValue NewC = DAG.getNode(ISD::ADD, DL, VT, N0.getOperand(1), in visitADDLikeCommutative() local
3901 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N01, N1})) in visitSUB() local
3908 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N0, N11})) in visitSUB() local
3915 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, {N01, N1})) in visitSUB() local
3922 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N00, N1})) in visitSUB() local
16625 SDValue NewC = DAG.getNode(ISD::FADD, DL, VT, N0.getOperand(1), N1); in visitFADD() local
H A DTargetLowering.cpp547 SDValue NewC = TLO.DAG.getConstant(DemandedBits & C, DL, VT); in ShrinkDemandedConstant() local
5167 APInt NewC = C1; in SimplifySetCC() local
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp2393 return NewC; in perfect() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp7098 APInt NewC, Offset; in tryFoldAndOrOrICmpsUsingRanges() local
7312 APInt NewC = IsSigned ? MaybeAddRHS->sadd_ov(*MaybeRHS, Overflow) in matchAddOverflow() local
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3804 OMPClause *NewC = SemaRef.OpenMP().ActOnOpenMPMapClause( in VisitOMPDeclareMapperDecl() local
H A DSemaTemplate.cpp7611 const Expr *NewC = nullptr, *OldC = nullptr; in MatchTemplateParameterKind() local
H A DTreeTransform.h12021 ExprResult NewC = getDerived().TransformExpr(C); in TransformRecoveryExpr() local
14451 TransformedInitCapture &NewC = InitCaptures[C - E->capture_begin()]; in TransformLambdaExpr() local
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp2878 Comparison NewC(C); in adjustForTestUnderMask() local

12