Lines Matching refs:AMDGPUCodeGenPrepare

59 class AMDGPUCodeGenPrepare : public FunctionPass,  class
60 public InstVisitor<AMDGPUCodeGenPrepare, bool> {
159 AMDGPUCodeGenPrepare() : FunctionPass(ID) {} in AMDGPUCodeGenPrepare() function in __anon3ce0d87a0111::AMDGPUCodeGenPrepare
186 unsigned AMDGPUCodeGenPrepare::getBaseElementBitWidth(const Type *T) const { in getBaseElementBitWidth()
194 Type *AMDGPUCodeGenPrepare::getI32Ty(IRBuilder<> &B, const Type *T) const { in getI32Ty()
202 bool AMDGPUCodeGenPrepare::isSigned(const BinaryOperator &I) const { in isSigned()
207 bool AMDGPUCodeGenPrepare::isSigned(const SelectInst &I) const { in isSigned()
212 bool AMDGPUCodeGenPrepare::needsPromotionToI32(const Type *T) const { in needsPromotionToI32()
257 bool AMDGPUCodeGenPrepare::canWidenScalarExtLoad(LoadInst &I) const { in canWidenScalarExtLoad()
267 bool AMDGPUCodeGenPrepare::promoteUniformOpToI32(BinaryOperator &I) const { in promoteUniformOpToI32()
314 bool AMDGPUCodeGenPrepare::promoteUniformOpToI32(ICmpInst &I) const { in promoteUniformOpToI32()
341 bool AMDGPUCodeGenPrepare::promoteUniformOpToI32(SelectInst &I) const { in promoteUniformOpToI32()
370 bool AMDGPUCodeGenPrepare::promoteUniformBitreverseToI32( in promoteUniformBitreverseToI32()
413 bool AMDGPUCodeGenPrepare::visitFDiv(BinaryOperator &FDiv) { in visitFDiv()
505 Value* AMDGPUCodeGenPrepare::expandDivRem24(IRBuilder<> &Builder, in expandDivRem24()
609 Value* AMDGPUCodeGenPrepare::expandDivRem32(IRBuilder<> &Builder, in expandDivRem32()
755 bool AMDGPUCodeGenPrepare::visitBinaryOperator(BinaryOperator &I) { in visitBinaryOperator()
797 bool AMDGPUCodeGenPrepare::visitLoadInst(LoadInst &I) { in visitLoadInst()
845 bool AMDGPUCodeGenPrepare::visitICmpInst(ICmpInst &I) { in visitICmpInst()
855 bool AMDGPUCodeGenPrepare::visitSelectInst(SelectInst &I) { in visitSelectInst()
865 bool AMDGPUCodeGenPrepare::visitIntrinsicInst(IntrinsicInst &I) { in visitIntrinsicInst()
874 bool AMDGPUCodeGenPrepare::visitBitreverseIntrinsicInst(IntrinsicInst &I) { in visitBitreverseIntrinsicInst()
884 bool AMDGPUCodeGenPrepare::doInitialization(Module &M) { in doInitialization()
889 bool AMDGPUCodeGenPrepare::runOnFunction(Function &F) { in runOnFunction()
916 INITIALIZE_PASS_BEGIN(AMDGPUCodeGenPrepare, DEBUG_TYPE,
920 INITIALIZE_PASS_END(AMDGPUCodeGenPrepare, DEBUG_TYPE, "AMDGPU IR optimizations",
923 char AMDGPUCodeGenPrepare::ID = 0;
926 return new AMDGPUCodeGenPrepare(); in createAMDGPUCodeGenPreparePass()