Home
last modified time | relevance | path

Searched refs:getEntryBlock (Results 1 – 25 of 249) sorted by relevance

12345678910

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueTrackingTest.cpp222 auto &BB = F->getEntryBlock(); in TEST()
259 cast<ReturnInst>(F->getEntryBlock().getTerminator())->getOperand(0); in TEST()
284 cast<ReturnInst>(F->getEntryBlock().getTerminator())->getOperand(0); in TEST()
310 cast<ReturnInst>(F->getEntryBlock().getTerminator())->getOperand(0); in TEST()
DProfileSummaryInfoTest.cpp117 BasicBlock &BB0 = F->getEntryBlock(); in TEST_F()
153 BasicBlock &BB0 = F->getEntryBlock(); in TEST_F()
185 BasicBlock &BB0 = F->getEntryBlock(); in TEST_F()
/external/llvm/lib/Analysis/
DCFG.cpp29 const BasicBlock *BB = &F.getEntryBlock(); in FindFunctionBackedges()
215 if (BB == &BB->getParent()->getEntryBlock()) in isPotentiallyReachable()
229 if (A->getParent() == &A->getParent()->getParent()->getEntryBlock()) in isPotentiallyReachable()
231 if (B->getParent() == &A->getParent()->getParent()->getEntryBlock()) in isPotentiallyReachable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCFG.cpp29 const BasicBlock *BB = &F.getEntryBlock(); in FindFunctionBackedges()
215 if (BB == &BB->getParent()->getEntryBlock()) in isPotentiallyReachable()
229 if (A->getParent() == &A->getParent()->getParent()->getEntryBlock()) in isPotentiallyReachable()
231 if (B->getParent() == &A->getParent()->getParent()->getEntryBlock()) in isPotentiallyReachable()
/external/llvm/include/llvm/IR/
DCFG.h225 static NodeType *getEntryNode(Function *F) { return &F->getEntryBlock(); }
235 static NodeType *getEntryNode(const Function *F) {return &F->getEntryBlock();}
253 return &G.Graph->getEntryBlock();
259 return &G.Graph->getEntryBlock();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DCFG.h219 static NodeRef getEntryNode(Function *F) { return &F->getEntryBlock(); }
236 static NodeRef getEntryNode(const Function *F) { return &F->getEntryBlock(); }
260 return &G.Graph->getEntryBlock();
266 return &G.Graph->getEntryBlock();
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerKernelArgs.cpp145 Instruction *FirstInst = &(Func->getEntryBlock().front()); in handleByValParam()
173 InsertPt = Arg->getParent()->getEntryBlock().begin(); in markPointerAsGlobal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp156 Instruction *FirstInst = &(Func->getEntryBlock().front()); in handleByValParam()
185 InsertPt = Arg->getParent()->getEntryBlock().begin(); in markPointerAsGlobal()
/external/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp39 &F->getEntryBlock().front()); in DemoteRegToStack()
121 &F->getEntryBlock().front()); in DemotePHIToStack()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp41 I.getName() + ".reg2mem", &F->getEntryBlock().front()); in DemoteRegToStack()
126 &F->getEntryBlock().front()); in DemotePHIToStack()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanHCFGTest.cpp41 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
118 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc89 b->SetInsertPoint(&function->getEntryBlock(), in EmitTupleAllocasAtFunctionEntry()
90 function->getEntryBlock().getFirstInsertionPt()); in EmitTupleAllocasAtFunctionEntry()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DBasicBlockUtils.cpp50 SplitBlockPredecessors(&F->getEntryBlock(), {}, "split.entry", &DT); in TEST()
DCodeExtractor.cpp59 Candidates.insert(Candidates.begin(), &Func->getEntryBlock()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp399 IRBuilder<> IRBCtor(Ctor->getEntryBlock().getTerminator()); in runOnModule()
456 if (Options.NoPrune || &F.getEntryBlock() == BB) in shouldInstrumentBlock()
460 &F.getEntryBlock() != BB) in shouldInstrumentBlock()
484 if (isa<UnreachableInst>(F.getEntryBlock().getTerminator())) in runOnFunction()
566 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray()
568 if (&F.getEntryBlock() == AllBlocks[i]) { in CreatePCArray()
753 bool IsEntryBB = &BB == &F.getEntryBlock(); in InjectCoverageAtBlock()
DInstrumentation.cpp40 assert(&BB.getParent()->getEntryBlock() == &BB); in PrepareToSplitEntryBlock()
/external/llvm/unittests/IR/
DValueTest.cpp127 BasicBlock &BB = F->getEntryBlock(); in TEST()
195 BasicBlock &EntryBB = F->getEntryBlock(); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp224 BasicBlock *BB = &F.getEntryBlock(); in markTails()
472 if (BB == &F->getEntryBlock() && in findTRECandidate()
565 OldEntry = &F->getEntryBlock(); in eliminateRecursiveTailCall()
633 if (P == &F->getEntryBlock()) in eliminateRecursiveTailCall()
DStructurizeCFG.cpp421 BasicBlock &EntryBlock = Arg->getParent()->getEntryBlock(); in invert()
544 PhiInserter.AddAvailableValue(&Func->getEntryBlock(), Default); in insertConditions()
612 Updater.AddAvailableValue(&Func->getEntryBlock(), Undef); in setPhiValues()
837 if (LoopStart == &LoopFunc->getEntryBlock()) { in handleLoops()
907 Updater.AddAvailableValue(&Func->getEntryBlock(), Undef); in rebuildSSA()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp228 BasicBlock *BB = &F.getEntryBlock(); in markTails()
476 if (BB == &F->getEntryBlock() && in findTRECandidate()
564 OldEntry = &F->getEntryBlock(); in eliminateRecursiveTailCall()
632 if (P == &F->getEntryBlock()) in eliminateRecursiveTailCall()
DStructurizeCFG.cpp406 BasicBlock &EntryBlock = Arg->getParent()->getEntryBlock(); in invert()
536 PhiInserter.AddAvailableValue(&Func->getEntryBlock(), Default); in insertConditions()
611 Updater.AddAvailableValue(&Func->getEntryBlock(), Undef); in setPhiValues()
844 if (LoopStart == &LoopFunc->getEntryBlock()) { in handleLoops()
914 Updater.AddAvailableValue(&Func->getEntryBlock(), Undef); in rebuildSSA()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DValueTest.cpp133 BasicBlock &BB = F->getEntryBlock(); in TEST()
208 BasicBlock &EntryBB = F->getEntryBlock(); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp36 auto II = F->getEntryBlock().begin(); in TEST()
/external/llvm/lib/Transforms/Instrumentation/
DInstrumentation.cpp40 assert(&BB.getParent()->getEntryBlock() == &BB); in PrepareToSplitEntryBlock()
/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp38 auto II = F->getEntryBlock().begin(); in TEST()

12345678910