Lines Matching refs:AMDGPUAtomicOptimizer
40 class AMDGPUAtomicOptimizer : public FunctionPass, class
41 public InstVisitor<AMDGPUAtomicOptimizer> {
59 AMDGPUAtomicOptimizer() : FunctionPass(ID) {} in AMDGPUAtomicOptimizer() function in __anon88edfa480111::AMDGPUAtomicOptimizer
75 char AMDGPUAtomicOptimizer::ID = 0;
77 char &llvm::AMDGPUAtomicOptimizerID = AMDGPUAtomicOptimizer::ID;
79 bool AMDGPUAtomicOptimizer::runOnFunction(Function &F) { in runOnFunction()
107 void AMDGPUAtomicOptimizer::visitAtomicRMWInst(AtomicRMWInst &I) { in visitAtomicRMWInst()
162 void AMDGPUAtomicOptimizer::visitIntrinsicInst(IntrinsicInst &I) { in visitIntrinsicInst()
283 Value *AMDGPUAtomicOptimizer::buildScan(IRBuilder<> &B, AtomicRMWInst::BinOp Op, in buildScan()
342 Value *AMDGPUAtomicOptimizer::buildShiftRight(IRBuilder<> &B, Value *V, in buildShiftRight()
412 void AMDGPUAtomicOptimizer::optimizeAtomic(Instruction &I, in optimizeAtomic()
665 INITIALIZE_PASS_BEGIN(AMDGPUAtomicOptimizer, DEBUG_TYPE,
669 INITIALIZE_PASS_END(AMDGPUAtomicOptimizer, DEBUG_TYPE, in INITIALIZE_PASS_DEPENDENCY()
673 return new AMDGPUAtomicOptimizer(); in INITIALIZE_PASS_DEPENDENCY()