HomeSort by: relevance | last modified time | path
    Searched refs:LandingPad (Results 1 - 22 of 22) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineFunction.cpp 684 MachineFunction::getOrCreateLandingPadInfo(MachineBasicBlock *LandingPad) {
688 if (LP.LandingPadBlock == LandingPad)
692 LandingPads.push_back(LandingPadInfo(LandingPad));
696 void MachineFunction::addInvoke(MachineBasicBlock *LandingPad,
698 LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad);
703 MCSymbol *MachineFunction::addLandingPad(MachineBasicBlock *LandingPad) {
705 LandingPadInfo &LP = getOrCreateLandingPadInfo(LandingPad);
708 const Instruction *FirstI = LandingPad->getBasicBlock()->getFirstNonPHI();
715 addCleanup(LandingPad);
723 addCatchTypeInfo(LandingPad,
    [all...]
TargetLoweringBase.cpp 1806 case LandingPad: return 0;
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Statepoint.h 229 LandingPadInst *LandingPad = StatepointInvoke->getLandingPadInst();
231 // Search for gc relocates that are attached to this landingpad.
232 for (const User *LandingPadUser : LandingPad->users()) {
Instruction.h 649 case Instruction::LandingPad:
Instructions.h 2831 /// The landingpad instruction holds all of the information
2832 /// necessary to generate correct exception handling. The landingpad instruction
2835 /// SubclassData field in Value to store whether or not the landingpad is a
2872 /// clauses that this landingpad will have (use 0 if you really have no idea).
2882 /// Return 'true' if this landingpad instruction is a
2887 /// Indicate that this landingpad instruction is a cleanup.
2918 return I->getOpcode() == Instruction::LandingPad;
3847 /// Get the landingpad instruction from the landing pad
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
EHStreamer.cpp 100 unsigned SizeSiteActions = 0; // Total size of all entries for a landingpad
198 const LandingPadInfo *LandingPad = LandingPads[i];
199 for (unsigned j = 0, E = LandingPad->BeginLabels.size(); j != E; ++j) {
200 MCSymbol *BeginLabel = LandingPad->BeginLabels[j];
284 const LandingPadInfo *LandingPad = LandingPads[P.PadIndex];
285 assert(BeginLabel == LandingPad->BeginLabels[P.RangeIndex] &&
299 LastLabel = LandingPad->EndLabels[P.RangeIndex];
302 if (!LandingPad->LandingPadLabel) {
310 LandingPad,
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MachineFunction.h 972 LandingPadInfo &getOrCreateLandingPadInfo(MachineBasicBlock *LandingPad);
985 void addInvoke(MachineBasicBlock *LandingPad,
989 /// the landingpad instruction. Returns the label ID for the landing pad
991 MCSymbol *addLandingPad(MachineBasicBlock *LandingPad);
994 void addCatchTypeInfo(MachineBasicBlock *LandingPad,
998 void addFilterTypeInfo(MachineBasicBlock *LandingPad,
1002 void addCleanup(MachineBasicBlock *LandingPad);
1004 void addSEHCatchHandler(MachineBasicBlock *LandingPad, const Function *Filter,
1007 void addSEHCleanupHandler(MachineBasicBlock *LandingPad,
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroFrame.cpp 1862 LandingPadInst *LandingPad = nullptr;
1864 if ((LandingPad = dyn_cast_or_null<LandingPadInst>(BB.getFirstNonPHI()))) {
1865 // ehAwareSplitEdge will clone the LandingPad in all the edge blocks.
1868 ReplPHI = PHINode::Create(LandingPad->getType(), 1, "", LandingPad);
1869 ReplPHI->takeName(LandingPad);
1870 LandingPad->replaceAllUsesWith(ReplPHI);
1877 auto *IncomingBB = ehAwareSplitEdge(Pred, &BB, LandingPad, ReplPHI);
1885 if (LandingPad) {
1888 LandingPad->eraseFromParent()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopSimplifyCFG.cpp 374 if (auto *LandingPad = dyn_cast<LandingPadInst>(BB->getFirstNonPHI()))
375 DeadInstructions.emplace_back(LandingPad);
  /src/external/apache2/llvm/dist/llvm/include/llvm-c/
Core.h 3688 /* Get the number of clauses on the landingpad instruction */
3689 unsigned LLVMGetNumClauses(LLVMValueRef LandingPad);
3691 /* Get the value of the clause at index Idx on the landingpad instruction */
3692 LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx);
3694 /* Add a catch or filter clause to the landingpad instruction */
3695 void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal);
3697 /* Get the 'cleanup' flag in the landingpad instruction */
3698 LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad);
3700 /* Set the 'cleanup' flag in the landingpad instruction */
3701 void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Core.cpp 3194 // The personality used to live on the landingpad instruction, but now it
3263 unsigned LLVMGetNumClauses(LLVMValueRef LandingPad) {
3264 return unwrap<LandingPadInst>(LandingPad)->getNumClauses();
3267 LLVMValueRef LLVMGetClause(LLVMValueRef LandingPad, unsigned Idx) {
3268 return wrap(unwrap<LandingPadInst>(LandingPad)->getClause(Idx));
3271 void LLVMAddClause(LLVMValueRef LandingPad, LLVMValueRef ClauseVal) {
3272 unwrap<LandingPadInst>(LandingPad)->
3276 LLVMBool LLVMIsCleanup(LLVMValueRef LandingPad) {
3277 return unwrap<LandingPadInst>(LandingPad)->isCleanup();
3280 void LLVMSetCleanup(LLVMValueRef LandingPad, LLVMBool Val)
    [all...]
Instruction.cpp 394 case LandingPad: return "landingpad";
Instructions.cpp 187 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertBefore) {
193 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertAtEnd) {
198 : Instruction(LP.getType(), Instruction::LandingPad, nullptr,
Verifier.cpp 37 // * A landing pad is defined by a landingpad instruction, and can be jumped to
39 // * A landingpad instruction must be the first non-PHI instruction in the
41 // * Landingpad instructions must be in a function with a personality function.
301 /// The result type for a landingpad.
3908 // The landingpad instruction defines its parent as a landing pad block. The
3973 // The landingpad instruction is ill-formed if it doesn't have any clauses and
3984 "The landingpad instruction should have a consistent result type "
3992 // The landingpad instruction must be the first non-PHI instruction in the
4258 "landingpad.",
4287 "landingpad."
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
BasicBlockUtils.cpp 632 else if (auto *LandingPad = dyn_cast<LandingPadInst>(PadInst))
633 ParentPad = LandingPad->getParent();
1248 // Create a PHI node for the two cloned landingpad instructions only
1249 // if the original landingpad instruction has some uses.
SimplifyCFG.cpp 4368 auto *LandingPad = dyn_cast<LandingPadInst>(IncomingBB->getFirstNonPHI());
4370 if (IncomingValue != LandingPad)
4374 make_range(LandingPad->getNextNode(), IncomingBB->getTerminator())))
4432 // The landingpad is now unreachable. Zap it.
4695 // Note that deleting LandingPad's here is in fact okay, although it
4696 // involves a bit of subtle reasoning. If this inst is a LandingPad,
  /src/external/apache2/llvm/dist/llvm/lib/AsmParser/
LLLexer.cpp 913 INSTKEYWORD(landingpad, LandingPad);
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
llvm.ml 244 | LandingPad
llvm.mli 268 | LandingPad
280 (** The type of a clause of a [landingpad] instruction.
2154 [landingpad]
2160 (** [is_cleanup lp] returns [true] if [landingpad] instruction lp is a cleanup.
2164 (** [set_cleanup lp] sets the cleanup flag in the [landingpad]instruction.
2168 (** [add_clause lp clause] adds the clause to the [landingpad]instruction.
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIISelLowering.cpp 3618 MachineBasicBlock* LandingPad = MF->CreateMachineBasicBlock();
3621 MF->insert(MBBI, LandingPad);
3623 LandingPad->addSuccessor(RemainderBB);
3624 LoopBB->addSuccessor(LandingPad);
3625 MachineBasicBlock::iterator First = LandingPad->begin();
3626 BuildMI(*LandingPad, First, DL, TII->get(MovExecOpc), Exec)
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ValueTracking.cpp 4615 case Instruction::LandingPad:
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
BitcodeWriter.cpp 3022 case Instruction::LandingPad: {

Completed in 96 milliseconds