reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
886 if (ST->has16BitInsts() && needsPromotionToI32(I.getType()) && 887 DA->isUniform(&I) && promoteUniformOpToI32(I)) 887 DA->isUniform(&I) && promoteUniformOpToI32(I)) 890 if (UseMul24Intrin && replaceMulWithMul24(I)) 894 Instruction::BinaryOps Opc = I.getOpcode(); 895 Type *Ty = I.getType(); 900 Value *Num = I.getOperand(0); 901 Value *Den = I.getOperand(1); 902 IRBuilder<> Builder(&I); 903 Builder.SetCurrentDebugLocation(I.getDebugLoc()); 911 Value *NewElt = expandDivRem32(Builder, I, NumEltN, DenEltN); 917 NewDiv = expandDivRem32(Builder, I, Num, Den); 921 I.replaceAllUsesWith(NewDiv); 922 I.eraseFromParent();