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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp328 bool Evaluator::EvaluateBlock(BasicBlock::iterator CurInst, argument
334 LLVM_DEBUG(dbgs() << "Evaluating Instruction: " << *CurInst << "\n");
336 if (StoreInst *SI = dyn_cast<StoreInst>(CurInst)) {
398 } else if (BinaryOperator *BO = dyn_cast<BinaryOperator>(CurInst)) {
404 } else if (CmpInst *CI = dyn_cast<CmpInst>(CurInst)) {
410 } else if (CastInst *CI = dyn_cast<CastInst>(CurInst)) {
416 } else if (SelectInst *SI = dyn_cast<SelectInst>(CurInst)) {
422 } else if (auto *EVI = dyn_cast<ExtractValueInst>(CurInst)) {
427 } else if (auto *IVI = dyn_cast<InsertValueInst>(CurInst)) {
433 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(CurInst)) {
695 BasicBlock::iterator CurInst = CurBB->begin(); local
[all...]
H A DCodeMoverUtils.cpp79 Instruction *CurInst = *WorkList.begin(); local
80 WorkList.erase(CurInst);
82 if (CurInst == &EndInst)
85 if (!InBetweenInsts.insert(CurInst).second)
88 getNextInsts(*CurInst, WorkList);
164 [&DI, &I](Instruction *CurInst) {
165 auto DepResult = DI.depends(&I, CurInst, true);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMustExecute.h285 CurInst(Other.CurInst) {}
289 CurInst(Other.CurInst) {}
294 std::swap(CurInst, Other.CurInst);
304 CurInst = advance();
318 return CurInst == Other.CurInst;
327 const Instruction *&operator*() { return CurInst; }
358 const Instruction *CurInst; member in struct:llvm::MustBeExecutedIterator
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVN.cpp2274 bool GVN::performScalarPRE(Instruction *CurInst) { argument
2275 if (isa<AllocaInst>(CurInst) || CurInst->isTerminator() ||
2276 isa<PHINode>(CurInst) || CurInst->getType()->isVoidTy() ||
2277 CurInst->mayReadFromMemory() || CurInst->mayHaveSideEffects() ||
2278 isa<DbgInfoIntrinsic>(CurInst))
2285 if (isa<CmpInst>(CurInst))
2295 if (isa<GetElementPtrInst>(CurInst))
2467 Instruction *CurInst = &*BI++; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h63 bool EvaluateBlock(BasicBlock::iterator CurInst, BasicBlock *&NextBB);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupLEAs.cpp275 MachineBasicBlock::iterator CurInst; local
278 CurInst = I;
280 Found = getPreviousInstr(CurInst, MBB);
281 while (Found && I != CurInst) {
282 if (CurInst->isCall() || CurInst->isInlineAsm())
286 if (usesRegister(p, CurInst) == RU_Write) {
287 return CurInst;
289 InstrDistance += TSM.computeInstrLatency(&*CurInst);
290 Found = getPreviousInstr(CurInst, MB
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h63 BasicBlock::iterator CurInst; // The next instruction to execute member in struct:llvm::ExecutionContext
70 ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {}
H A DExecution.cpp986 SF.CurInst = SF.CurBB->begin(); // Update new instruction ptr...
988 if (!isa<PHINode>(SF.CurInst)) return; // Nothing fancy to do
993 for (; PHINode *PN = dyn_cast<PHINode>(SF.CurInst); ++SF.CurInst) {
1004 SF.CurInst = SF.CurBB->begin();
1005 for (unsigned i = 0; isa<PHINode>(SF.CurInst); ++SF.CurInst, ++i) {
1006 PHINode *PN = cast<PHINode>(SF.CurInst);
1148 // Restore the CurInst pointer to the first instruction newly inserted, if
1151 SF.CurInst
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h98 const Instruction *CurInst = nullptr; member in class:llvm::SelectionDAGBuilder
479 return SDLoc(CurInst, SDNodeOrder);
483 return CurInst ? CurInst->getDebugLoc() : DebugLoc();
H A DSelectionDAGBuilder.cpp1030 CurInst = nullptr;
1110 CurInst = &I;
1143 CurInst = nullptr;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp695 : Explorer(Explorer), CurInst(I) {
700 CurInst = I;
706 assert(CurInst && "Cannot advance an end iterator!");
708 Explorer.getMustBeExecutedNextInstruction(*this, CurInst);

Completed in 468 milliseconds