Lines Matching defs:SIAnnotateControlFlow
1 //===- SIAnnotateControlFlow.cpp ------------------------------------------===//
39 class SIAnnotateControlFlow : public FunctionPass {
94 SIAnnotateControlFlow() : FunctionPass(ID) {}
113 INITIALIZE_PASS_BEGIN(SIAnnotateControlFlow, DEBUG_TYPE,
118 INITIALIZE_PASS_END(SIAnnotateControlFlow, DEBUG_TYPE,
121 char SIAnnotateControlFlow::ID = 0;
124 void SIAnnotateControlFlow::initialize(Module &M, const GCNSubtarget &ST) {
149 bool SIAnnotateControlFlow::isUniform(BranchInst *T) {
154 bool SIAnnotateControlFlow::isTopOfStack(BasicBlock *BB) {
159 Value *SIAnnotateControlFlow::popSaved() {
164 void SIAnnotateControlFlow::push(BasicBlock *BB, Value *Saved) {
170 bool SIAnnotateControlFlow::isElse(PHINode *Phi) {
187 bool SIAnnotateControlFlow::hasKill(const BasicBlock *BB) {
197 bool SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) {
205 bool SIAnnotateControlFlow::openIf(BranchInst *Term) {
219 bool SIAnnotateControlFlow::insertElse(BranchInst *Term) {
234 Value *SIAnnotateControlFlow::handleLoopCondition(
270 bool SIAnnotateControlFlow::handleLoop(BranchInst *Term) {
308 bool SIAnnotateControlFlow::closeControlFlow(BasicBlock *BB) {
352 bool SIAnnotateControlFlow::runOnFunction(Function &F) {
406 return new SIAnnotateControlFlow();