Home
last modified time | relevance | path

Searched refs:NewConst (Results 1 – 6 of 6) 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.cpp1993 uint64_t NewConst = V.getConstantOperandVal(i) >> Amount; in willShiftRightEliminate() local
1994 return (NewConst == 1); in willShiftRightEliminate()
2009 uint64_t NewConst = V.getConstantOperandVal(i) >> Power; in factorOutPowerOf2() local
2010 if (NewConst == 1) in factorOutPowerOf2()
2012 Ops[i] = CurDAG->getConstant(NewConst, in factorOutPowerOf2()
H A DHexagonISelLowering.cpp1207 SmallVector<Constant*, 128> NewConst; in LowerConstantPool() local
1212 NewConst.push_back(IRB.getInt8(CV->getOperand(i)->isZeroValue())); in LowerConstantPool()
1214 CVal = ConstantVector::get(NewConst); in LowerConstantPool()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1588 Constant *NewConst = ConstantFoldBinaryOpOperands( in foldMinimumOverTrailingOrLeadingZeroCount() local
1595 IntrID, Builder.CreateOr(CtOp, NewConst), in foldMinimumOverTrailingOrLeadingZeroCount()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2968 APInt NewConst = VRegAndVal->Value.urem( in applyFunnelShiftConstantModulo() local
2971 auto NewConstInstr = Builder.buildConstant(ConstTy, NewConst.getZExtValue()); in applyFunnelShiftConstantModulo()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4975 SDValue NewConst = DAG.getConstant(C1.trunc(InSize), dl, newVT); in SimplifySetCC() local
4978 NewConst, Cond); in SimplifySetCC()