Home
last modified time | relevance | path

Searched refs:CurInst (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DGVN.cpp2404 Instruction *CurInst = BI++; in performPRE() local
2406 if (isa<AllocaInst>(CurInst) || in performPRE()
2407 isa<TerminatorInst>(CurInst) || isa<PHINode>(CurInst) || in performPRE()
2408 CurInst->getType()->isVoidTy() || in performPRE()
2409 CurInst->mayReadFromMemory() || CurInst->mayHaveSideEffects() || in performPRE()
2410 isa<DbgInfoIntrinsic>(CurInst)) in performPRE()
2417 if (isa<CmpInst>(CurInst)) in performPRE()
2421 if (CallInst *CallI = dyn_cast<CallInst>(CurInst)) in performPRE()
2425 uint32_t ValNo = VN.lookup(CurInst); in performPRE()
2456 } else if (predV == CurInst) { in performPRE()
[all …]
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2485 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
2574 bool Evaluator::EvaluateBlock(BasicBlock::iterator CurInst, in EvaluateBlock() argument
2580 if (StoreInst *SI = dyn_cast<StoreInst>(CurInst)) { in EvaluateBlock()
2636 } else if (BinaryOperator *BO = dyn_cast<BinaryOperator>(CurInst)) { in EvaluateBlock()
2640 } else if (CmpInst *CI = dyn_cast<CmpInst>(CurInst)) { in EvaluateBlock()
2644 } else if (CastInst *CI = dyn_cast<CastInst>(CurInst)) { in EvaluateBlock()
2648 } else if (SelectInst *SI = dyn_cast<SelectInst>(CurInst)) { in EvaluateBlock()
2652 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(CurInst)) { in EvaluateBlock()
2661 } else if (LoadInst *LI = dyn_cast<LoadInst>(CurInst)) { in EvaluateBlock()
2668 } else if (AllocaInst *AI = dyn_cast<AllocaInst>(CurInst)) { in EvaluateBlock()
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp713 SF.CurInst = SF.CurBB->begin(); // Update new instruction ptr... in SwitchToNewBasicBlock()
715 if (!isa<PHINode>(SF.CurInst)) return; // Nothing fancy to do in SwitchToNewBasicBlock()
720 for (; PHINode *PN = dyn_cast<PHINode>(SF.CurInst); ++SF.CurInst) { in SwitchToNewBasicBlock()
731 SF.CurInst = SF.CurBB->begin(); in SwitchToNewBasicBlock()
732 for (unsigned i = 0; isa<PHINode>(SF.CurInst); ++SF.CurInst, ++i) { in SwitchToNewBasicBlock()
733 PHINode *PN = cast<PHINode>(SF.CurInst); in SwitchToNewBasicBlock()
879 SF.CurInst = Parent->begin(); in visitCallSite()
881 SF.CurInst = me; in visitCallSite()
882 ++SF.CurInst; in visitCallSite()
1309 StackFrame.CurInst = StackFrame.CurBB->begin(); in callFunction()
[all …]
DInterpreter.h73 BasicBlock::iterator CurInst; // The next instruction to execute member