Searched refs:CurInst (Results 1 - 7 of 7) sorted by relevance

/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h67 BasicBlock::iterator CurInst; // The next instruction to execute member in struct:llvm::ExecutionContext
74 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {}
77 : CurFunction(O.CurFunction), CurBB(O.CurBB), CurInst(O.CurInst),
84 CurInst = O.CurInst;
H A DExecution.cpp933 SF.CurInst = SF.CurBB->begin(); // Update new instruction ptr...
935 if (!isa<PHINode>(SF.CurInst)) return; // Nothing fancy to do
940 for (; PHINode *PN = dyn_cast<PHINode>(SF.CurInst); ++SF.CurInst) {
951 SF.CurInst = SF.CurBB->begin();
952 for (unsigned i = 0; isa<PHINode>(SF.CurInst); ++SF.CurInst, ++i) {
953 PHINode *PN = cast<PHINode>(SF.CurInst);
1096 // Restore the CurInst pointer to the first instruction newly inserted, if
1099 SF.CurInst
[all...]
/external/llvm/lib/Target/X86/
H A DX86FixupLEAs.cpp215 MachineBasicBlock::iterator CurInst; local
218 CurInst = I;
220 Found = getPreviousInstr(CurInst, MFI);
221 while (Found && I != CurInst) {
222 if (CurInst->isCall() || CurInst->isInlineAsm())
226 if (usesRegister(p, CurInst) == RU_Write) {
227 return CurInst;
230 MF->getSubtarget().getInstrItineraryData(), CurInst);
231 Found = getPreviousInstr(CurInst, MF
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DGVN.cpp2578 bool GVN::performScalarPRE(Instruction *CurInst) { argument
2581 if (isa<AllocaInst>(CurInst) || isa<TerminatorInst>(CurInst) ||
2582 isa<PHINode>(CurInst) || CurInst->getType()->isVoidTy() ||
2583 CurInst->mayReadFromMemory() || CurInst->mayHaveSideEffects() ||
2584 isa<DbgInfoIntrinsic>(CurInst))
2591 if (isa<CmpInst>(CurInst))
2595 if (CallInst *CallI = dyn_cast<CallInst>(CurInst))
2725 Instruction *CurInst = &*BI++; local
[all...]
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp2330 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
2417 bool Evaluator::EvaluateBlock(BasicBlock::iterator CurInst, argument
2423 DEBUG(dbgs() << "Evaluating Instruction: " << *CurInst << "\n");
2425 if (StoreInst *SI = dyn_cast<StoreInst>(CurInst)) {
2498 } else if (BinaryOperator *BO = dyn_cast<BinaryOperator>(CurInst)) {
2504 } else if (CmpInst *CI = dyn_cast<CmpInst>(CurInst)) {
2510 } else if (CastInst *CI = dyn_cast<CastInst>(CurInst)) {
2516 } else if (SelectInst *SI = dyn_cast<SelectInst>(CurInst)) {
2522 } else if (auto *EVI = dyn_cast<ExtractValueInst>(CurInst)) {
2527 } else if (auto *IVI = dyn_cast<InsertValueInst>(CurInst)) {
2784 BasicBlock::iterator CurInst = CurBB->begin(); local
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h88 /// CurInst - The current instruction being visited
89 const Instruction *CurInst; member in class:llvm::SelectionDAGBuilder
616 : CurInst(nullptr), SDNodeOrder(LowestSDNodeOrder), TM(dag.getTarget()),
654 return SDLoc(CurInst, SDNodeOrder);
658 return CurInst ? CurInst->getDebugLoc() : DebugLoc();
H A DSelectionDAGBuilder.cpp835 CurInst = nullptr;
912 CurInst = &I;
920 CurInst = nullptr;

Completed in 76 milliseconds