Home
last modified time | relevance | path

Searched refs:NewCst (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h378 bool matchCombineConstPtrAddToI2P(MachineInstr &MI, APInt &NewCst);
379 void applyCombineConstPtrAddToI2P(MachineInstr &MI, APInt &NewCst);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp368 if (Constant *NewCst = Fixup.RebuildConstant( in processInstruction() local
371 CP->getConstantPoolIndex(NewCst, Align(Fixup.MemBitWidth / 8)); in processInstruction()
H A DX86ISelDAGToDAG.cpp4510 SDValue NewCst = CurDAG->getConstant(ShiftedVal, dl, NVT); in tryShrinkShlLogicImm() local
4511 insertDAGNode(*CurDAG, SDValue(N, 0), NewCst); in tryShrinkShlLogicImm()
4512 SDValue NewBinOp = CurDAG->getNode(Opcode, dl, NVT, X, NewCst); in tryShrinkShlLogicImm()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1453 auto NewCst = Builder.buildConstant(MRI.getType(MatchInfo.Offset), in applyCombineIndexedLoadStore() local
1455 MatchInfo.Offset = NewCst.getReg(0); in applyCombineIndexedLoadStore()
1696 const ConstantFP *NewCst = ConstantFP::get(Builder.getContext(), Folded); in applyCombineConstantFoldFpUnary() local
1697 Builder.buildFConstant(MI.getOperand(0), *NewCst); in applyCombineConstantFoldFpUnary()
2476 APInt &NewCst) { in matchCombineConstPtrAddToI2P() argument
2487 NewCst = Cst.zextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
2488 NewCst += RHSCst->sextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
2497 APInt &NewCst) { in applyCombineConstPtrAddToI2P() argument
2501 Builder.buildConstant(Dst, NewCst); in applyCombineConstPtrAddToI2P()
4779 auto NewCst = B.buildConstant(MRI.getType(RHSReg), LHSCstOff->Value); in matchReassocConstantInnerLHS() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp248 if (Constant *NewCst = ConstantExpr::getExactLogBase2(C1)) { in visitMul() local
249 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul()
255 if (match(NewCst, m_APInt(V)) && *V != V->getBitWidth() - 1) in visitMul()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp4834 Constant *NewCst = ConstantInt::getFalse(BB->getContext()); in tryToSimplifyUncondBranchWithICmpInIt() local
4837 std::swap(DefaultCst, NewCst); in tryToSimplifyUncondBranchWithICmpInIt()
4867 PHIUse->addIncoming(NewCst, NewBB); in tryToSimplifyUncondBranchWithICmpInIt()