Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp132 Constant *NewConst = in runOnModule() local
134 Const->replaceAllUsesWith(NewConst); in runOnModule()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMCodeGenPrepare.cpp505 auto *NewConst = ConstantInt::get(Ctx, Const->getValue().abs()); in PrepareConstants() local
508 Builder.CreateAdd(I->getOperand(0), NewConst) : in PrepareConstants()
509 Builder.CreateSub(I->getOperand(0), NewConst); in PrepareConstants()
584 Constant *NewConst = ConstantExpr::getZExt(Const, ExtTy); in PromoteTree() local
585 I->setOperand(i, NewConst); in PromoteTree()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1811 uint64_t NewConst = V.getConstantOperandVal(i) >> Amount; in willShiftRightEliminate() local
1812 return (NewConst == 1); in willShiftRightEliminate()
1827 uint64_t NewConst = V.getConstantOperandVal(i) >> Power; in factorOutPowerOf2() local
1828 if (NewConst == 1) in factorOutPowerOf2()
1830 Ops[i] = CurDAG->getConstant(NewConst, in factorOutPowerOf2()
H A DHexagonISelLowering.cpp888 SmallVector<Constant *, 128> NewConst; in convert_i1_to_i8() local
906 NewConst.push_back(IRB.getInt8(x)); in convert_i1_to_i8()
908 return ConstantVector::get(NewConst); in convert_i1_to_i8()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp3077 SDValue NewConst = DAG.getConstant(ShiftAmt - 32, SL, MVT::i32); in performSrlCombine() local
3078 SDValue NewShift = DAG.getNode(ISD::SRL, SL, MVT::i32, Hi, NewConst); in performSrlCombine()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2474 SDValue NewConst = DAG.getConstant(C1.trunc(InSize), dl, newVT); in SimplifySetCC() local
2477 NewConst, Cond); in SimplifySetCC()