Home
last modified time | relevance | path

Searched refs:CurrentBlock (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/compiler/
Draw-machine-assembler.cc93 schedule()->AddGoto(CurrentBlock(), Use(label)); in Goto()
104 schedule()->AddBranch(CurrentBlock(), branch, Use(true_val), Use(false_val)); in Branch()
112 schedule()->AddCall(CurrentBlock(), call, Use(if_success), Use(if_exception)); in Continuations()
138 schedule()->AddSwitch(CurrentBlock(), switch_node, succ_blocks, succ_count); in Switch()
145 schedule()->AddReturn(CurrentBlock(), ret); in Return()
152 schedule()->AddReturn(CurrentBlock(), ret); in Return()
159 schedule()->AddReturn(CurrentBlock(), ret); in Return()
166 schedule()->AddReturn(CurrentBlock(), ret); in Return()
176 schedule()->AddReturn(CurrentBlock(), ret); in Return()
184 schedule()->AddReturn(CurrentBlock(), ret); in PopAndReturn()
[all …]
Draw-machine-assembler.h929 BasicBlock* CurrentBlock();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp439 BasicBlock *CurrentBlock = CatchSwitch->getParent(); in splitBeforeCatchSwitch() local
440 BasicBlock *NewBlock = CurrentBlock->splitBasicBlock(CatchSwitch); in splitBeforeCatchSwitch()
441 CurrentBlock->getTerminator()->eraseFromParent(); in splitBeforeCatchSwitch()
444 CleanupPadInst::Create(CatchSwitch->getParentPad(), {}, "", CurrentBlock); in splitBeforeCatchSwitch()
446 CleanupReturnInst::Create(CleanupPad, NewBlock, CurrentBlock); in splitBeforeCatchSwitch()
481 BasicBlock *CurrentBlock = nullptr; in insertSpills() local
513 CurrentBlock = nullptr; in insertSpills()
562 if (CurrentBlock != E.userBlock()) { in insertSpills()
563 CurrentBlock = E.userBlock(); in insertSpills()
564 CurrentReload = CreateReload(&*CurrentBlock->getFirstInsertionPt()); in insertSpills()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DLinePrinter.cpp148 uint32_t CurrentBlock = Blocks[0]; in computeBlockRuns() local
149 Runs.emplace_back(CurrentBlock); in computeBlockRuns()
153 if (NextBlock < CurrentBlock || (NextBlock - CurrentBlock > 1)) { in computeBlockRuns()
160 CurrentBlock = NextBlock; in computeBlockRuns()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGVN.cpp2216 BasicBlock *CurrentBlock = CurInst->getParent(); in performScalarPRE() local
2219 for (BasicBlock *P : predecessors(CurrentBlock)) { in performScalarPRE()
2229 if (BlockRPONumber[P] >= BlockRPONumber[CurrentBlock] && in performScalarPRE()
2232 return Inst->getParent() == CurrentBlock; in performScalarPRE()
2239 uint32_t TValNo = VN.phiTranslate(P, CurrentBlock, ValNo, *this); in performScalarPRE()
2271 auto It = FirstImplicitControlFlowInsts.find(CurrentBlock); in performScalarPRE()
2273 assert(It->second->getParent() == CurrentBlock && in performScalarPRE()
2287 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock); in performScalarPRE()
2294 if (!performScalarPREInsertion(PREInstr, PREPred, CurrentBlock, ValNo)) { in performScalarPRE()
2311 CurInst->getName() + ".pre-phi", &CurrentBlock->front()); in performScalarPRE()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp2226 BasicBlock *CurrentBlock = *DI; in performPRE() local
2229 if (CurrentBlock == &F.getEntryBlock()) continue; in performPRE()
2232 if (CurrentBlock->isLandingPad()) continue; in performPRE()
2234 for (BasicBlock::iterator BI = CurrentBlock->begin(), in performPRE()
2235 BE = CurrentBlock->end(); BI != BE; ) { in performPRE()
2263 for (pred_iterator PI = pred_begin(CurrentBlock), in performPRE()
2264 PE = pred_end(CurrentBlock); PI != PE; ++PI) { in performPRE()
2269 if (P == CurrentBlock) { in performPRE()
2301 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock); in performPRE()
2347 pred_iterator PB = pred_begin(CurrentBlock), PE = pred_end(CurrentBlock); in performPRE()
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp2368 BasicBlock *CurrentBlock = CurInst->getParent(); in performScalarPRE() local
2371 for (BasicBlock *P : predecessors(CurrentBlock)) { in performScalarPRE()
2375 if (P == CurrentBlock) { in performScalarPRE()
2416 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock); in performScalarPRE()
2440 CurInst->getName() + ".pre-phi", &CurrentBlock->front()); in performScalarPRE()
2449 addToLeaderTable(ValNo, Phi, CurrentBlock); in performScalarPRE()
2455 removeFromLeaderTable(ValNo, CurInst, CurrentBlock); in performScalarPRE()
2471 for (BasicBlock *CurrentBlock : depth_first(&F.getEntryBlock())) { in performPRE()
2473 if (CurrentBlock == &F.getEntryBlock()) in performPRE()
2477 if (CurrentBlock->isEHPad()) in performPRE()
[all …]
/external/clang/lib/Analysis/
DLiveVariables.cpp203 const CFGBlock *CurrentBlock) in TransferFunctions() argument
204 : LV(im), val(Val), observer(Observer), currentBlock(CurrentBlock) {} in TransferFunctions()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3047 BasicBlock *CurrentBlock = Current.second; in FillPlaceholders() local
3055 ? CurrentBlock in FillPlaceholders()
3061 ? CurrentBlock in FillPlaceholders()
3070 cast<Instruction>(CurrentValue)->getParent() == CurrentBlock; in FillPlaceholders()
3072 for (auto B : predecessors(CurrentBlock)) { in FillPlaceholders()
3113 BasicBlock *CurrentBlock = Current.second; in InsertPlaceholders() local
3117 bool IsDefinedInThisBB = CurrentI->getParent() == CurrentBlock; in InsertPlaceholders()
3119 unsigned PredCount = pred_size(CurrentBlock); in InsertPlaceholders()
3125 &CurrentBlock->front()); in InsertPlaceholders()
3129 for (auto B : predecessors(CurrentBlock)) in InsertPlaceholders()
[all …]
/external/mesa3d/src/mesa/main/
Ddlist.c1355 n = ctx->ListState.CurrentBlock + ctx->ListState.CurrentPos; in dlist_alloc()
1367 ctx->ListState.CurrentBlock = newblock; in dlist_alloc()
1380 n = ctx->ListState.CurrentBlock + ctx->ListState.CurrentPos; in dlist_alloc()
1497 if ((list->CurrentList->Head == list->CurrentBlock) && in trim_list()
1502 list->CurrentBlock = realloc(list->CurrentBlock, newSize); in trim_list()
1503 if (!list->CurrentBlock) { in trim_list()
9340 ctx->ListState.CurrentBlock = ctx->ListState.CurrentList->Head; in _mesa_NewList()
9399 ctx->ListState.CurrentBlock = NULL; in _mesa_EndList()
10516 ctx->ListState.CurrentBlock = NULL; in _mesa_init_display_list()
Dmtypes.h4397 union gl_dlist_node *CurrentBlock; /**< Pointer to current block of nodes */ member