Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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
5817 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
1501 Constant *C2, *NewC = nullptr; in foldFDivConstantDividend() 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 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 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
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1714 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp() local
1765 Constant *NewC = ConstantInt::get(I.getType(), *C & *XorC); in visitAnd() local
3104 Constant *NewC = ConstantInt::get(I.getType(), *C + *RHSC); in visitXor() local
3109 Constant *NewC = ConstantInt::get(I.getType(), *C + *RHSC); in visitXor() local
3116 Constant *NewC = ConstantInt::get(I.getType(), *C ^ *RHSC); in visitXor() local
H A DInstCombineAddSub.cpp841 Constant *NewC = in foldNoWrapAdd() local
851 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd() local
858 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd() local
H A DInstCombineCompares.cpp2154 Constant *NewC = in foldICmpShlConstant() local
2577 APInt NewC = in foldICmpAddConstant() local
2809 Value *NewC = ConstantInt::get(EltTy, C->trunc(EltTy->getBitWidth())); in foldICmpBitCast() local
5246 Constant *NewC = ConstantExpr::getAdd(C, OneOrNegOne); in getFlippedStrictnessPredicateAndConstant() local
6182 Constant *NewC = ConstantFP::get(X->getType(), TruncC); in visitFCmpInst() local
H A DInstCombineVectorOps.cpp1484 Constant *NewC = Op0IsBinop ? ConstantExpr::getShuffleVector(C, IdC, Mask) : in foldSelectShuffleWith1Binop() local
1609 Constant *NewC = ConstantExpr::getShuffleVector(C0, C1, Mask); in foldSelectShuffle() local
H A DInstCombineShifts.cpp1033 auto *NewC = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C1); in visitShl() local
H A DInstCombineMulDivRem.cpp1184 Constant *C2, *NewC = nullptr; in foldFDivConstantDividend() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
H A DValueList.cpp204 Constant *NewC; in resolveConstantForwardRefs() local
/aosp_15_r20/external/llvm/lib/Analysis/
H A DConstantFolding.cpp987 if (auto *NewC = dyn_cast<ConstantExpr>(C)) in ConstantFoldInstruction() local
1047 auto *NewC = cast<Constant>(&NewU); in ConstantFoldConstantExpressionImpl() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
H A DConstants.cpp769 SmallVector<Constant *, 32> NewC(NumElts); in replaceUndefsWith() local
799 SmallVector<Constant *, 32> NewC(NumElts); in mergeUndefsWith() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DConstantFolding.cpp1086 auto *NewC = cast<Constant>(&NewU); in ConstantFoldConstantImpl() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp964 Comdat *NewC = M.getOrInsertComdat(NewName); in trySingleImplDevirt() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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
/aosp_15_r20/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp775 if (Constant *NewC = ConstantFoldInstruction(I, DL, TLI)) { in ConstantPropUsersOf() local

12