Home
last modified time | relevance | path

Searched refs:NewConst (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp363 APInt NewConst = -((-OverflowConst).zext(64)); in isSafeWrap() local
364 if (!TLI->isLegalAddImmediate(NewConst.getSExtValue())) in isSafeWrap()
499 APInt NewConst; in PromoteTree() local
502 NewConst = -((-Const->getValue()).zext(PromotedWidth)); in PromoteTree()
504 NewConst = -((-Const->getValue()).zext(PromotedWidth)); in PromoteTree()
506 NewConst = Const->getValue().zext(PromotedWidth); in PromoteTree()
508 NewConst = Const->getValue().zext(PromotedWidth); in PromoteTree()
510 I->setOperand(i, ConstantInt::get(Const->getContext(), NewConst)); in PromoteTree()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1983 uint64_t NewConst = V.getConstantOperandVal(i) >> Amount; in willShiftRightEliminate() local
1984 return (NewConst == 1); in willShiftRightEliminate()
1999 uint64_t NewConst = V.getConstantOperandVal(i) >> Power; in factorOutPowerOf2() local
2000 if (NewConst == 1) in factorOutPowerOf2()
2002 Ops[i] = CurDAG->getConstant(NewConst, in factorOutPowerOf2()
H A DHexagonISelLowering.cpp1138 SmallVector<Constant*, 128> NewConst; in LowerConstantPool() local
1143 NewConst.push_back(IRB.getInt8(CV->getOperand(i)->isZeroValue())); in LowerConstantPool()
1145 CVal = ConstantVector::get(NewConst); in LowerConstantPool()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1487 Constant *NewConst = ConstantFoldBinaryOpOperands( in foldMinimumOverTrailingOrLeadingZeroCount() local
1494 IntrID, Builder.CreateOr(CtOp, NewConst), in foldMinimumOverTrailingOrLeadingZeroCount()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2941 APInt NewConst = VRegAndVal->Value.urem( in applyFunnelShiftConstantModulo() local
2944 auto NewConstInstr = Builder.buildConstant(ConstTy, NewConst.getZExtValue()); in applyFunnelShiftConstantModulo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4132 SDValue NewConst = DAG.getConstant(ShiftAmt - 32, SL, MVT::i32); in performSrlCombine() local
4133 SDValue NewShift = DAG.getNode(ISD::SRL, SL, MVT::i32, Hi, NewConst); in performSrlCombine()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4759 SDValue NewConst = DAG.getConstant(C1.trunc(InSize), dl, newVT); in SimplifySetCC() local
4762 NewConst, Cond); in SimplifySetCC()