Home | History | Annotate | Download | only in AMDGPU

Lines Matching refs:Value

33 typedef std::pair<BasicBlock *, Value *> StackEntry;
74 Value *popSaved();
76 void push(BasicBlock *BB, Value *Saved);
86 Value *handleLoopCondition(Value *Cond, PHINode *Broken, llvm::Loop *L);
160 /// \brief Pop the last saved value from the control flow stack
161 Value *SIAnnotateControlFlow::popSaved() {
165 /// \brief Push a BB and saved value to the control flow stack
166 void SIAnnotateControlFlow::push(BasicBlock *BB, Value *Saved) {
197 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term);
204 Value *Ret = CallInst::Create(Else, popSaved(), "", Term);
210 Value *SIAnnotateControlFlow::handleLoopCondition(Value *Cond, PHINode *Broken,
223 Value *Ret = NewPhi;
227 Value *Incoming = Phi->getIncomingValue(i);
235 Value *PhiArg = handleLoopCondition(Incoming, Broken, L);
243 Value *Incoming = Phi->getIncomingValue(i);
251 Value *Args[] = { OldEnd->getArgOperand(0), NewPhi };
257 Value *PhiArg = CallInst::Create(Break, Broken, "", Insert);
271 Value *Args[] = { Cond, Broken };
287 Value *Cond = Term->getCondition();
289 Value *Arg = handleLoopCondition(Cond, Broken, L);