Lines Matching refs:I32Ty
348 Type *I32Ty = getI32Ty(Builder, I.getType()); in promoteUniformOpToI32() local
355 ExtOp0 = Builder.CreateSExt(I.getOperand(0), I32Ty); in promoteUniformOpToI32()
356 ExtOp1 = Builder.CreateSExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
358 ExtOp0 = Builder.CreateZExt(I.getOperand(0), I32Ty); in promoteUniformOpToI32()
359 ExtOp1 = Builder.CreateZExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
389 Type *I32Ty = getI32Ty(Builder, I.getOperand(0)->getType()); in promoteUniformOpToI32() local
395 ExtOp0 = Builder.CreateSExt(I.getOperand(0), I32Ty); in promoteUniformOpToI32()
396 ExtOp1 = Builder.CreateSExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
398 ExtOp0 = Builder.CreateZExt(I.getOperand(0), I32Ty); in promoteUniformOpToI32()
399 ExtOp1 = Builder.CreateZExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
416 Type *I32Ty = getI32Ty(Builder, I.getType()); in promoteUniformOpToI32() local
423 ExtOp1 = Builder.CreateSExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
424 ExtOp2 = Builder.CreateSExt(I.getOperand(2), I32Ty); in promoteUniformOpToI32()
426 ExtOp1 = Builder.CreateZExt(I.getOperand(1), I32Ty); in promoteUniformOpToI32()
427 ExtOp2 = Builder.CreateZExt(I.getOperand(2), I32Ty); in promoteUniformOpToI32()
448 Type *I32Ty = getI32Ty(Builder, I.getType()); in promoteUniformBitreverseToI32() local
450 Intrinsic::getDeclaration(Mod, Intrinsic::bitreverse, { I32Ty }); in promoteUniformBitreverseToI32()
451 Value *ExtOp = Builder.CreateZExt(I.getOperand(0), I32Ty); in promoteUniformBitreverseToI32()
547 IntegerType *I32Ty = Builder.getInt32Ty(); in replaceMulWithMul24() local
552 LHS = Builder.CreateZExtOrTrunc(LHSVals[I], I32Ty); in replaceMulWithMul24()
553 RHS = Builder.CreateZExtOrTrunc(RHSVals[I], I32Ty); in replaceMulWithMul24()
555 LHS = Builder.CreateSExtOrTrunc(LHSVals[I], I32Ty); in replaceMulWithMul24()
556 RHS = Builder.CreateSExtOrTrunc(RHSVals[I], I32Ty); in replaceMulWithMul24()
834 Type *I32Ty = Builder.getInt32Ty(); in getMul64() local
840 Value *Lo = Builder.CreateTrunc(MUL64, I32Ty); in getMul64()
842 Hi = Builder.CreateTrunc(Hi, I32Ty); in getMul64()
889 Type *I32Ty = Builder.getInt32Ty(); in expandDivRem24Impl() local
890 Num = Builder.CreateTrunc(Num, I32Ty); in expandDivRem24Impl()
891 Den = Builder.CreateTrunc(Den, I32Ty); in expandDivRem24Impl()
942 Value *IQ = IsSigned ? Builder.CreateFPToSI(FQ, I32Ty) in expandDivRem24Impl()
943 : Builder.CreateFPToUI(FQ, I32Ty); in expandDivRem24Impl()
1048 Type *I32Ty = Builder.getInt32Ty(); in expandDivRem32() local
1053 X = Builder.CreateSExt(X, I32Ty); in expandDivRem32()
1054 Y = Builder.CreateSExt(Y, I32Ty); in expandDivRem32()
1056 X = Builder.CreateZExt(X, I32Ty); in expandDivRem32()
1057 Y = Builder.CreateZExt(Y, I32Ty); in expandDivRem32()
1120 Value *Z = Builder.CreateFPToUI(ScaledY, I32Ty); in expandDivRem32()
1295 Type *I32Ty = Builder.getInt32Ty(); in visitLoadInst() local
1296 Type *PT = PointerType::get(I32Ty, I.getPointerAddressSpace()); in visitLoadInst()
1298 LoadInst *WidenLoad = Builder.CreateLoad(I32Ty, BitCast); in visitLoadInst()
1311 ConstantAsMetadata::get(ConstantInt::get(I32Ty, Lower->getValue().zext(32))), in visitLoadInst()
1313 ConstantAsMetadata::get(ConstantInt::get(I32Ty, 0)) in visitLoadInst()