Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/
DX86FixupLEAs.cpp204 MachineBasicBlock::iterator CurInst; in searchBackwards() local
207 CurInst = I; in searchBackwards()
209 Found = getPreviousInstr(CurInst, MFI); in searchBackwards()
210 while (Found && I != CurInst) { in searchBackwards()
211 if (CurInst->isCall() || CurInst->isInlineAsm()) in searchBackwards()
215 if (usesRegister(p, CurInst) == RU_Write) { in searchBackwards()
216 return CurInst; in searchBackwards()
219 MF->getSubtarget().getInstrItineraryData(), CurInst); in searchBackwards()
220 Found = getPreviousInstr(CurInst, MFI); in searchBackwards()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h68 BasicBlock::iterator CurInst; // The next instruction to execute member
75 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {} in ExecutionContext()
78 : CurFunction(O.CurFunction), CurBB(O.CurBB), CurInst(O.CurInst), in ExecutionContext()
85 CurInst = O.CurInst;
DExecution.cpp933 SF.CurInst = SF.CurBB->begin(); // Update new instruction ptr... in SwitchToNewBasicBlock()
935 if (!isa<PHINode>(SF.CurInst)) return; // Nothing fancy to do in SwitchToNewBasicBlock()
940 for (; PHINode *PN = dyn_cast<PHINode>(SF.CurInst); ++SF.CurInst) { in SwitchToNewBasicBlock()
951 SF.CurInst = SF.CurBB->begin(); in SwitchToNewBasicBlock()
952 for (unsigned i = 0; isa<PHINode>(SF.CurInst); ++SF.CurInst, ++i) { in SwitchToNewBasicBlock()
953 PHINode *PN = cast<PHINode>(SF.CurInst); in SwitchToNewBasicBlock()
1099 SF.CurInst = Parent->begin(); in visitCallSite()
1101 SF.CurInst = me; in visitCallSite()
1102 ++SF.CurInst; in visitCallSite()
2096 StackFrame.CurInst = StackFrame.CurBB->begin(); in callFunction()
[all …]
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2196 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
2285 bool Evaluator::EvaluateBlock(BasicBlock::iterator CurInst, in EvaluateBlock() argument
2291 DEBUG(dbgs() << "Evaluating Instruction: " << *CurInst << "\n"); in EvaluateBlock()
2293 if (StoreInst *SI = dyn_cast<StoreInst>(CurInst)) { in EvaluateBlock()
2366 } else if (BinaryOperator *BO = dyn_cast<BinaryOperator>(CurInst)) { in EvaluateBlock()
2372 } else if (CmpInst *CI = dyn_cast<CmpInst>(CurInst)) { in EvaluateBlock()
2378 } else if (CastInst *CI = dyn_cast<CastInst>(CurInst)) { in EvaluateBlock()
2384 } else if (SelectInst *SI = dyn_cast<SelectInst>(CurInst)) { in EvaluateBlock()
2390 } else if (auto *EVI = dyn_cast<ExtractValueInst>(CurInst)) { in EvaluateBlock()
2395 } else if (auto *IVI = dyn_cast<InsertValueInst>(CurInst)) { in EvaluateBlock()
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp2485 bool GVN::performScalarPRE(Instruction *CurInst) { in performScalarPRE() argument
2488 if (isa<AllocaInst>(CurInst) || isa<TerminatorInst>(CurInst) || in performScalarPRE()
2489 isa<PHINode>(CurInst) || CurInst->getType()->isVoidTy() || in performScalarPRE()
2490 CurInst->mayReadFromMemory() || CurInst->mayHaveSideEffects() || in performScalarPRE()
2491 isa<DbgInfoIntrinsic>(CurInst)) in performScalarPRE()
2498 if (isa<CmpInst>(CurInst)) in performScalarPRE()
2502 if (CallInst *CallI = dyn_cast<CallInst>(CurInst)) in performScalarPRE()
2506 uint32_t ValNo = VN.lookup(CurInst); in performScalarPRE()
2517 BasicBlock *CurrentBlock = CurInst->getParent(); in performScalarPRE()
2539 } else if (predV == CurInst) { in performScalarPRE()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h88 const Instruction *CurInst; variable
546 : CurInst(nullptr), SDNodeOrder(LowestSDNodeOrder), TM(dag.getTarget()), in SelectionDAGBuilder()
584 return SDLoc(CurInst, SDNodeOrder); in getCurSDLoc()
588 return CurInst ? CurInst->getDebugLoc() : DebugLoc(); in getCurDebugLoc()
DSelectionDAGBuilder.cpp889 CurInst = nullptr; in clear()
966 CurInst = &I; in visit()
973 CurInst = nullptr; in visit()