Lines Matching defs:SIAnnotateControlFlow
1 //===- SIAnnotateControlFlow.cpp ------------------------------------------===//
56 class SIAnnotateControlFlow : public FunctionPass {
109 SIAnnotateControlFlow() : FunctionPass(ID) {}
127 INITIALIZE_PASS_BEGIN(SIAnnotateControlFlow, DEBUG_TYPE,
132 INITIALIZE_PASS_END(SIAnnotateControlFlow, DEBUG_TYPE,
135 char SIAnnotateControlFlow::ID = 0;
138 void SIAnnotateControlFlow::initialize(Module &M, const GCNSubtarget &ST) {
163 bool SIAnnotateControlFlow::isUniform(BranchInst *T) {
169 bool SIAnnotateControlFlow::isTopOfStack(BasicBlock *BB) {
174 Value *SIAnnotateControlFlow::popSaved() {
179 void SIAnnotateControlFlow::push(BasicBlock *BB, Value *Saved) {
185 bool SIAnnotateControlFlow::isElse(PHINode *Phi) {
203 void SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) {
210 void SIAnnotateControlFlow::openIf(BranchInst *Term) {
220 void SIAnnotateControlFlow::insertElse(BranchInst *Term) {
230 Value *SIAnnotateControlFlow::handleLoopCondition(
258 void SIAnnotateControlFlow::handleLoop(BranchInst *Term) {
292 void SIAnnotateControlFlow::closeControlFlow(BasicBlock *BB) {
322 bool SIAnnotateControlFlow::runOnFunction(Function &F) {
375 return new SIAnnotateControlFlow();