Lines Matching refs:nval
861 Constant *nval; in TDOFold() local
867 nval = ConstantDataVector::get(context, tmp); in TDOFold()
870 nval = ConstantDataVector::get(context, tmp); in TDOFold()
872 LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n"); in TDOFold()
873 replaceCall(CI, nval); in TDOFold()
881 Value *nval = ConstantFP::get(CF->getType(), tr[i].result); in TDOFold() local
882 LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n"); in TDOFold()
883 replaceCall(CI, nval); in TDOFold()
943 Value *nval = B.CreateFMul(opr0, opr0, "__pow2"); in fold_pow() local
944 replaceCall(FPOp, nval); in fold_pow()
954 Value *nval = B.CreateFDiv(cnval, opr0, "__powrecip"); in fold_pow() local
955 replaceCall(FPOp, nval); in fold_pow()
968 Value *nval = CreateCallEx(B,FPExpr, opr0, issqrt ? "__pow2sqrt" in fold_pow() local
970 replaceCall(FPOp, nval); in fold_pow()
997 Value *nval; in fold_pow() local
1003 nval = cnval; in fold_pow()
1006 nval = nullptr; in fold_pow()
1010 nval = nval ? B.CreateFMul(nval, valx2, "__powprod") : valx2; in fold_pow()
1021 nval = B.CreateFDiv(cnval, nval, "__1powprod"); in fold_pow()
1026 replaceCall(FPOp, nval); in fold_pow()
1102 Value *nval; in fold_pow() local
1104 nval = B.CreateUnaryIntrinsic(Intrinsic::fabs, opr0, nullptr, "__fabs"); in fold_pow()
1106 nval = cnval ? cnval : opr0; in fold_pow()
1119 nval = CreateCallEx(B,LogExpr, nval, "__log2"); in fold_pow()
1124 opr1 = B.CreateSIToFP(opr1, nval->getType(), "pownI2F"); in fold_pow()
1126 nval = B.CreateFMul(opr1, nval, "__ylogx"); in fold_pow()
1127 nval = CreateCallEx(B,ExpExpr, nval, "__exp2"); in fold_pow()
1141 nval = B.CreateOr(B.CreateBitCast(nval, nTy), sign); in fold_pow()
1142 nval = B.CreateBitCast(nval, opr0->getType()); in fold_pow()
1147 replaceCall(FPOp, nval); in fold_pow()
1201 Value *nval = CreateCallEx(B,FPExpr, opr0, "__rootn2cbrt"); in fold_rootn() local
1202 replaceCall(FPOp, nval); in fold_rootn()
1207 Value *nval = B.CreateFDiv(ConstantFP::get(opr0->getType(), 1.0), in fold_rootn() local
1210 replaceCall(FPOp, nval); in fold_rootn()