Lines Matching defs:AMDGPUCodeGenPrepare
1 //===-- AMDGPUCodeGenPrepare.cpp ------------------------------------------===//
44 cl::desc("Widen sub-dword constant address space loads in AMDGPUCodeGenPrepare"),
50 cl::desc("Widen uniform 16-bit instructions to 32-bit in AMDGPUCodeGenPrepare"),
72 cl::desc("Introduce mul24 intrinsics in AMDGPUCodeGenPrepare"),
79 cl::desc("Expand 64-bit division in AMDGPUCodeGenPrepare"),
87 cl::desc("Prevent expanding integer division in AMDGPUCodeGenPrepare"),
94 cl::desc("Prevent expanding floating point division in AMDGPUCodeGenPrepare"),
335 class AMDGPUCodeGenPrepare : public FunctionPass {
338 AMDGPUCodeGenPrepare() : FunctionPass(ID) {
2282 bool AMDGPUCodeGenPrepare::runOnFunction(Function &F) {
2318 INITIALIZE_PASS_BEGIN(AMDGPUCodeGenPrepare, DEBUG_TYPE,
2323 INITIALIZE_PASS_END(AMDGPUCodeGenPrepare, DEBUG_TYPE, "AMDGPU IR optimizations",
2326 char AMDGPUCodeGenPrepare::ID = 0;
2329 return new AMDGPUCodeGenPrepare();