Home
last modified time | relevance | path

Searched refs:FailBB (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DStackProtector.cpp149 BasicBlock *FailBB = 0; // The basic block to jump to if check fails. in InsertStackProtectors() local
159 if (!FailBB) { in InsertStackProtectors()
192 FailBB = CreateFailBB(); in InsertStackProtectors()
236 BranchInst::Create(NewBB, FailBB, Cmp, BB); in InsertStackProtectors()
241 if (!FailBB) return false; in InsertStackProtectors()
244 DT->addNewBlock(FailBB, FailBBDom); in InsertStackProtectors()
252 BasicBlock *FailBB = BasicBlock::Create(F->getContext(), in CreateFailBB() local
257 CallInst::Create(StackChkFail, "", FailBB); in CreateFailBB()
258 new UnreachableInst(F->getContext(), FailBB); in CreateFailBB()
259 return FailBB; in CreateFailBB()
/external/llvm/lib/CodeGen/
DStackProtector.cpp406 BasicBlock *FailBB = CreateFailBB(); in InsertStackProtectors() local
414 DT->addNewBlock(FailBB, BB); in InsertStackProtectors()
436 B.CreateCondBr(Cmp, NewBB, FailBB, Weights); in InsertStackProtectors()
449 BasicBlock *FailBB = BasicBlock::Create(Context, "CallStackCheckFailBlk", F); in CreateFailBB() local
450 IRBuilder<> B(FailBB); in CreateFailBB()
466 return FailBB; in CreateFailBB()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp166 BasicBlock *FailBB = BasicBlock::Create(C, "fail", RegisterCallDtors); in runOnModule() local
174 BranchInst::Create(FailBB, RetBB, Cmp, EntryBB); in runOnModule()
180 "", FailBB); in runOnModule()
181 new UnreachableInst(C, FailBB); in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DStackProtector.cpp449 BasicBlock *FailBB = CreateFailBB(); in InsertStackProtectors() local
457 DT->addNewBlock(FailBB, BB); in InsertStackProtectors()
479 B.CreateCondBr(Cmp, NewBB, FailBB, Weights); in InsertStackProtectors()
492 BasicBlock *FailBB = BasicBlock::Create(Context, "CallStackCheckFailBlk", F); in CreateFailBB() local
493 IRBuilder<> B(FailBB); in CreateFailBB()
509 return FailBB; in CreateFailBB()