Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp409 Value *NewC = Builder.CreateBinOp(I.getOpcode(), C, C1); in commonShiftTransforms() local
440 Constant *NewC = ConstantInt::get(Ty, I.getOpcode() == Instruction::Shl in commonShiftTransforms() local
1125 auto *NewC = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C1); in visitShl() local
1256 auto *NewC = ConstantInt::get( in visitLShr() local
H A DInstCombineCompares.cpp1896 Constant *NewC = ConstantInt::get(Or->getType(), C ^ (*MaskC)); in foldICmpOrConstant() local
1908 Constant *NewC = ConstantInt::get(X->getType(), TrueIfSigned ? 1 : 0); in foldICmpOrConstant() local
1980 Constant *NewC = ConstantInt::get(MulTy, C.sdiv(*MulC)); in foldICmpMulConstant() local
1985 Constant *NewC = ConstantInt::get(MulTy, C.udiv(*MulC)); in foldICmpMulConstant() local
1994 Constant *NewC = nullptr; in foldICmpMulConstant() local
2197 Constant *NewC = in foldICmpShlConstant() local
2243 Constant *NewC = ConstantInt::get(Shr->getType(), CmpLZ - ShiftLZ); in foldICmpShrConstant() local
2733 APInt NewC = in foldICmpAddConstant() local
3060 Value *NewC = ConstantInt::get(EltTy, C->trunc(EltTy->getBitWidth())); in foldICmpBitCast() local
5813 Constant *NewC = ConstantExpr::getAdd(C, OneOrNegOne); in getFlippedStrictnessPredicateAndConstant() local
[all …]
H A DInstCombineSimplifyDemanded.cpp625 Constant *NewC = ConstantExpr::getShl(C, LeftShiftAmtC); in SimplifyDemandedUseBits() local
704 Constant *NewC = ConstantExpr::getLShr(C, RightShiftAmtC); in SimplifyDemandedUseBits() local
H A DInstCombineAddSub.cpp824 Constant *NewC = in foldNoWrapAdd() local
834 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd() local
841 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd() local
H A DInstCombineMulDivRem.cpp299 Value *NewC = Builder.CreateMul(C1, MulC); in visitMul() local
1514 Constant *C2, *NewC = nullptr; in foldFDivConstantDividend() local
H A DInstCombineVectorOps.cpp2139 Constant *NewC = Op0IsBinop ? ConstantExpr::getShuffleVector(C, IdC, Mask) : in foldSelectShuffleWith1Binop() local
2271 Constant *NewC = ConstantExpr::getShuffleVector(C0, C1, Mask); in foldSelectShuffle() local
H A DInstCombineAndOrXor.cpp1200 APInt NewC, Offset; in foldAndOrOfICmpsUsingRanges() local
1711 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp() local
1993 Constant *NewC = ConstantInt::get(Ty, *C & *XorC); in visitAnd() local
H A DInstCombineCalls.cpp1008 Constant *NewC = ConstantExpr::getSelect(CondC, C0, C1); in reassociateMinMaxWithConstants() local
1653 APInt NewC = in visitCallInst() local
H A DInstructionCombining.cpp1343 Constant *NewC = ConstantFoldBinaryOpOperands(BO.getOpcode(), C0, C1, DL); in foldBinopWithPhiOperands() local
1832 Constant *NewC = ConstantVector::get(NewVecC); in foldVectorBinop() local
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DLazyCallGraph.cpp1628 SCC *NewC = nullptr; in addSplitFunction() local
1746 SCC *NewC = createSCC(*NewRC, SmallVector<Node *, 1>({&NewN})); in addSplitRefRecursiveFunctions() local
H A DConstantFolding.cpp1130 Constant *NewC = OldC; in ConstantFoldConstantImpl() local
H A DInstructionSimplify.cpp4674 SmallVector<Constant *, 16> NewC; in simplifySelectInst() local
5304 SmallVector<Constant *, 32> NewC(NumElts); in propagateNaN() local
/openbsd/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp769 SmallVector<Constant *, 32> NewC(NumElts); in replaceUndefsWith() local
799 SmallVector<Constant *, 32> NewC(NumElts); in mergeUndefsWith() local
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1233 Comdat *NewC = M.getOrInsertComdat(NewName); in trySingleImplDevirt() local
H A DGlobalOpt.cpp842 if (Constant *NewC = ConstantFoldInstruction(I, DL, TLI)) { in ConstantPropUsersOf() local
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2403 if (SDValue NewC = DAG.FoldConstantArithmetic( in foldAddSubOfSignBit() local
3553 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N01, N1})) in visitSUB() local
3560 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N0, N11})) in visitSUB() local
3567 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, {N01, N1})) in visitSUB() local
3574 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N00, N1})) in visitSUB() local
15314 SDValue NewC = DAG.getNode(ISD::FADD, DL, VT, N0.getOperand(1), N1); in visitFADD() local
H A DTargetLowering.cpp529 SDValue NewC = TLO.DAG.getConstant(DemandedBits & C, DL, VT); in ShrinkDemandedConstant() local
4893 APInt NewC = C1; in SimplifySetCC() local
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp2361 CycleType NewC(C.begin() + LogPos, C.end()); in perfect() local
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3686 OMPClause *NewC = SemaRef.ActOnOpenMPMapClause( in VisitOMPDeclareMapperDecl() local
H A DTreeTransform.h10957 ExprResult NewC = getDerived().TransformExpr(C); in TransformRecoveryExpr() local
13351 TransformedInitCapture &NewC = InitCaptures[C - E->capture_begin()]; in TransformLambdaExpr() local
H A DSemaTemplate.cpp8043 const Expr *NewC = nullptr, *OldC = nullptr; in MatchTemplateParameterKind() local
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp2628 Comparison NewC(C); in adjustForTestUnderMask() local
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp10729 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, Op.getValueType()); in targetShrinkDemandedConstant() local
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp20008 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, VT); in targetShrinkDemandedConstant() local
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp37753 SDValue NewC = in targetShrinkDemandedConstant() local
37805 SDValue NewC = TLO.DAG.getConstant(ZeroExtendMask, DL, VT); in targetShrinkDemandedConstant() local