LLVM  3.7.0
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
llvm::SelectionDAGBuilder Class Reference

SelectionDAGBuilder - This is the common target-independent lowering implementation that is parameterized by a TargetLowering object. More...

#include <SelectionDAGBuilder.h>

Collaboration diagram for llvm::SelectionDAGBuilder:
[legend]

Public Member Functions

 SelectionDAGBuilder (SelectionDAG &dag, FunctionLoweringInfo &funcinfo, CodeGenOpt::Level ol)
 
void init (GCFunctionInfo *gfi, AliasAnalysis &aa, const TargetLibraryInfo *li)
 
void clear ()
 clear - Clear out the current SelectionDAG and the associated state and prepare this SelectionDAGBuilder object to be used for a new block. More...
 
void clearDanglingDebugInfo ()
 clearDanglingDebugInfo - Clear the dangling debug information map. More...
 
SDValue getRoot ()
 getRoot - Return the current virtual root of the Selection DAG, flushing any PendingLoad items. More...
 
SDValue getControlRoot ()
 getControlRoot - Similar to getRoot, but instead of flushing all the PendingLoad items, flush all the PendingExports items. More...
 
SDLoc getCurSDLoc () const
 
DebugLoc getCurDebugLoc () const
 
unsigned getSDNodeOrder () const
 
void CopyValueToVirtualRegister (const Value *V, unsigned Reg)
 
void visit (const Instruction &I)
 
void visit (unsigned Opcode, const User &I)
 
SDValue getCopyFromRegs (const Value *V, Type *Ty)
 getCopyFromRegs - If there was virtual register allocated for the value V emit CopyFromReg of the specified type Ty. More...
 
void resolveDanglingDebugInfo (const Value *V, SDValue Val)
 
SDValue getValue (const Value *V)
 getValue - Return an SDValue for the given Value. More...
 
bool findValue (const Value *V) const
 
SDValue getNonRegisterValue (const Value *V)
 getNonRegisterValue - Return an SDValue for the given Value, but don't look in FuncInfo.ValueMap for a virtual register. More...
 
SDValue getValueImpl (const Value *V)
 getValueImpl - Helper function for getValue and getNonRegisterValue. More...
 
void setValue (const Value *V, SDValue NewN)
 
void setUnusedArgValue (const Value *V, SDValue NewN)
 
void FindMergedConditions (const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, unsigned Opc, uint32_t TW, uint32_t FW)
 FindMergedConditions - If Cond is an expression like. More...
 
void EmitBranchForMergedCondition (const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, MachineBasicBlock *SwitchBB, uint32_t TW, uint32_t FW)
 EmitBranchForMergedCondition - Helper method for FindMergedConditions. More...
 
bool ShouldEmitAsBranches (const std::vector< CaseBlock > &Cases)
 If the set of cases should be emitted as a series of branches, return true. More...
 
bool isExportableFromCurrentBlock (const Value *V, const BasicBlock *FromBB)
 
void CopyToExportRegsIfNeeded (const Value *V)
 CopyToExportRegsIfNeeded - If the given value has virtual registers created for it, emit nodes to copy the value into the virtual registers. More...
 
void ExportFromCurrentBlock (const Value *V)
 ExportFromCurrentBlock - If this condition isn't known to be exported from the current basic block, add it to ValueMap now so that we'll get a CopyTo/FromReg. More...
 
void LowerCallTo (ImmutableCallSite CS, SDValue Callee, bool IsTailCall, MachineBasicBlock *LandingPad=nullptr)
 
std::pair< SDValue, SDValuelowerCallOperands (ImmutableCallSite CS, unsigned ArgIdx, unsigned NumArgs, SDValue Callee, Type *ReturnTy, MachineBasicBlock *LandingPad=nullptr, bool IsPatchPoint=false)
 Lower an argument list according to the target calling convention. More...
 
void UpdateSplitBlock (MachineBasicBlock *First, MachineBasicBlock *Last)
 UpdateSplitBlock - When an MBB was split during scheduling, update the references that need to refer to the last resulting block. More...
 
void LowerStatepoint (ImmutableStatepoint Statepoint, MachineBasicBlock *LandingPad=nullptr)
 
void visitSwitchCase (CaseBlock &CB, MachineBasicBlock *SwitchBB)
 visitSwitchCase - Emits the necessary code to represent a single node in the binary search tree resulting from lowering a switch instruction. More...
 
void visitSPDescriptorParent (StackProtectorDescriptor &SPD, MachineBasicBlock *ParentBB)
 Codegen a new tail for a stack protector check ParentMBB which has had its tail spliced into a stack protector check success bb. More...
 
void visitSPDescriptorFailure (StackProtectorDescriptor &SPD)
 Codegen the failure basic block for a stack protector check. More...
 
void visitBitTestHeader (BitTestBlock &B, MachineBasicBlock *SwitchBB)
 visitBitTestHeader - This function emits necessary code to produce value suitable for "bit tests" More...
 
void visitBitTestCase (BitTestBlock &BB, MachineBasicBlock *NextMBB, uint32_t BranchWeightToNext, unsigned Reg, BitTestCase &B, MachineBasicBlock *SwitchBB)
 visitBitTestCase - this function produces one "bit test" More...
 
void visitJumpTable (JumpTable &JT)
 visitJumpTable - Emit JumpTable node in the current MBB More...
 
void visitJumpTableHeader (JumpTable &JT, JumpTableHeader &JTH, MachineBasicBlock *SwitchBB)
 visitJumpTableHeader - This function emits necessary code to produce index in the JumpTable from switch case. More...
 

Public Attributes

SmallVector< SDValue, 8 > PendingLoads
 PendingLoads - Loads are not emitted to the program immediately. More...
 
StatepointLoweringState StatepointLowering
 State used while lowering a statepoint sequence (gc_statepoint, gc_relocate, and gc_result). More...
 
SelectionDAGDAG
 
const DataLayoutDL
 
AliasAnalysisAA
 
const TargetLibraryInfoLibInfo
 
std::vector< CaseBlock > SwitchCases
 SwitchCases - Vector of CaseBlock structures used to communicate SwitchInst code generation information. More...
 
std::vector< JumpTableBlock > JTCases
 JTCases - Vector of JumpTable structures used to communicate SwitchInst code generation information. More...
 
std::vector< BitTestBlock > BitTestCases
 BitTestCases - Vector of BitTestBlock structures used to communicate SwitchInst code generation information. More...
 
StackProtectorDescriptor SPDescriptor
 A StackProtectorDescriptor structure used to communicate stack protector information in between SelectBasicBlock and FinishBasicBlock. More...
 
DenseMap< const Constant
*, unsigned
ConstantsOut
 
FunctionLoweringInfoFuncInfo
 FuncInfo - Information about the function as a whole. More...
 
CodeGenOpt::Level OptLevel
 OptLevel - What optimization level we're generating code for. More...
 
GCFunctionInfoGFI
 GFI - Garbage collection metadata for the function. More...
 
DenseMap< MachineBasicBlock
*, SmallVector< unsigned, 4 > > 
LPadToCallSiteMap
 LPadToCallSiteMap - Map a landing pad to the call site indexes. More...
 
bool HasTailCall
 HasTailCall - This is set to true if a call in the current block has been translated as a tail call. More...
 
LLVMContextContext
 

Static Public Attributes

static const unsigned LowestSDNodeOrder = 1
 Lowest valid SDNodeOrder. More...
 

Detailed Description

SelectionDAGBuilder - This is the common target-independent lowering implementation that is parameterized by a TargetLowering object.

Definition at line 87 of file SelectionDAGBuilder.h.

Constructor & Destructor Documentation

llvm::SelectionDAGBuilder::SelectionDAGBuilder ( SelectionDAG dag,
FunctionLoweringInfo funcinfo,
CodeGenOpt::Level  ol 
)
inline

Definition at line 613 of file SelectionDAGBuilder.h.

Member Function Documentation

void SelectionDAGBuilder::clear ( )

clear - Clear out the current SelectionDAG and the associated state and prepare this SelectionDAGBuilder object to be used for a new block.

This doesn't clear out information about additional blocks that are needed to complete switch lowering or PHI node updating; that information is cleared out as it is consumed.

Definition at line 824 of file SelectionDAGBuilder.cpp.

References llvm::StatepointLoweringState::clear(), HasTailCall, LowestSDNodeOrder, PendingLoads, and StatepointLowering.

void SelectionDAGBuilder::clearDanglingDebugInfo ( )

clearDanglingDebugInfo - Clear the dangling debug information map.

This function is separated from the clear so that debug information that is dangling in a basic block can be properly resolved in a different basic block. This allows the SelectionDAG to resolve dangling debug information attached to PHI nodes.

Definition at line 841 of file SelectionDAGBuilder.cpp.

void SelectionDAGBuilder::CopyToExportRegsIfNeeded ( const Value V)

CopyToExportRegsIfNeeded - If the given value has virtual registers created for it, emit nodes to copy the value into the virtual registers.

Definition at line 1283 of file SelectionDAGBuilder.cpp.

References CopyValueToVirtualRegister(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), FuncInfo, llvm::Value::getType(), llvm::Type::isEmptyTy(), llvm::Value::use_empty(), and llvm::FunctionLoweringInfo::ValueMap.

Referenced by visit().

void SelectionDAGBuilder::CopyValueToVirtualRegister ( const Value V,
unsigned  Reg 
)
void SelectionDAGBuilder::EmitBranchForMergedCondition ( const Value Cond,
MachineBasicBlock TBB,
MachineBasicBlock FBB,
MachineBasicBlock CurBB,
MachineBasicBlock SwitchBB,
uint32_t  TWeight,
uint32_t  FWeight 
)

EmitBranchForMergedCondition - Helper method for FindMergedConditions.

This function emits a branch and is used at the leaves of an OR or an AND operator tree.

Definition at line 1367 of file SelectionDAGBuilder.cpp.

References DAG, R600_InstFlag::FC, llvm::MachineBasicBlock::getBasicBlock(), llvm::SelectionDAG::getContext(), llvm::getFCmpCodeWithoutNaN(), llvm::getFCmpCondCode(), llvm::getICmpCondCode(), llvm::ConstantInt::getTrue(), isExportableFromCurrentBlock(), llvm_unreachable, llvm::ISD::SETEQ, SwitchCases, and llvm::SystemZISD::TM.

Referenced by FindMergedConditions().

void SelectionDAGBuilder::ExportFromCurrentBlock ( const Value V)

ExportFromCurrentBlock - If this condition isn't known to be exported from the current basic block, add it to ValueMap now so that we'll get a CopyTo/FromReg.

Definition at line 1298 of file SelectionDAGBuilder.cpp.

References CopyValueToVirtualRegister(), FuncInfo, llvm::FunctionLoweringInfo::InitializeRegForValue(), and llvm::FunctionLoweringInfo::isExportedInst().

Referenced by lowerStatepointMetaArgs().

void SelectionDAGBuilder::FindMergedConditions ( const Value Cond,
MachineBasicBlock TBB,
MachineBasicBlock FBB,
MachineBasicBlock CurBB,
MachineBasicBlock SwitchBB,
unsigned  Opc,
uint32_t  TW,
uint32_t  FW 
)
bool SelectionDAGBuilder::findValue ( const Value V) const
SDValue SelectionDAGBuilder::getControlRoot ( )

getControlRoot - Similar to getRoot, but instead of flushing all the PendingLoad items, flush all the PendingExports items.

It is necessary to do this before emitting a terminator instruction.

Definition at line 873 of file SelectionDAGBuilder.cpp.

References DAG, llvm::ISD::EntryToken, getCurSDLoc(), llvm::SelectionDAG::getNode(), llvm::SDValue::getOpcode(), llvm::SelectionDAG::getRoot(), llvm::MVT::Other, llvm::SelectionDAG::setRoot(), and llvm::ISD::TokenFactor.

Referenced by visitBitTestCase(), visitBitTestHeader(), visitJumpTable(), visitJumpTableHeader(), and visitSwitchCase().

SDValue SelectionDAGBuilder::getCopyFromRegs ( const Value V,
Type Ty 
)
DebugLoc llvm::SelectionDAGBuilder::getCurDebugLoc ( ) const
inline

Definition at line 656 of file SelectionDAGBuilder.h.

References llvm::Instruction::getDebugLoc().

SDLoc llvm::SelectionDAGBuilder::getCurSDLoc ( ) const
inline
SDValue SelectionDAGBuilder::getNonRegisterValue ( const Value V)

getNonRegisterValue - Return an SDValue for the given Value, but don't look in FuncInfo.ValueMap for a virtual register.

Definition at line 1010 of file SelectionDAGBuilder.cpp.

References llvm::SDValue::getNode(), getValueImpl(), N, resolveDanglingDebugInfo(), and llvm::SDNode::setDebugLoc().

Referenced by CopyValueToVirtualRegister().

SDValue SelectionDAGBuilder::getRoot ( )

getRoot - Return the current virtual root of the Selection DAG, flushing any PendingLoad items.

This must be done before emitting a store or any other node that may need to be ordered after any prior load instructions.

Definition at line 850 of file SelectionDAGBuilder.cpp.

References DAG, getCurSDLoc(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getRoot(), llvm::MVT::Other, PendingLoads, llvm::SelectionDAG::setRoot(), and llvm::ISD::TokenFactor.

Referenced by lowerCallOperands(), LowerCallTo(), and lowerIncomingStatepointValue().

unsigned llvm::SelectionDAGBuilder::getSDNodeOrder ( ) const
inline

Definition at line 660 of file SelectionDAGBuilder.h.

SDValue SelectionDAGBuilder::getValue ( const Value V)
SDValue SelectionDAGBuilder::getValueImpl ( const Value V)
void SelectionDAGBuilder::init ( GCFunctionInfo gfi,
AliasAnalysis aa,
const TargetLibraryInfo li 
)
bool SelectionDAGBuilder::isExportableFromCurrentBlock ( const Value V,
const BasicBlock FromBB 
)
std::pair< SDValue, SDValue > SelectionDAGBuilder::lowerCallOperands ( ImmutableCallSite  CS,
unsigned  ArgIdx,
unsigned  NumArgs,
SDValue  Callee,
Type ReturnTy,
MachineBasicBlock LandingPad = nullptr,
bool  IsPatchPoint = false 
)

Lower an argument list according to the target calling convention.

Returns
A tuple of <return-value, token-chain>

This is a helper for lowering intrinsics that follow a target calling convention or require stack pointer adjustment. Only a subset of the intrinsic's operands need to participate in the calling convention.

Definition at line 6464 of file SelectionDAGBuilder.cpp.

References DAG, llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::getCallingConv(), getCurSDLoc(), getRoot(), llvm::Value::getType(), getValue(), llvm::Type::isEmptyTy(), llvm::TargetLowering::ArgListEntry::Node, llvm::TargetLowering::CallLoweringInfo::setCallee(), llvm::TargetLowering::CallLoweringInfo::setChain(), and llvm::TargetLowering::CallLoweringInfo::setDebugLoc().

Referenced by lowerCallFromStatepoint().

void SelectionDAGBuilder::LowerCallTo ( ImmutableCallSite  CS,
SDValue  Callee,
bool  IsTailCall,
MachineBasicBlock LandingPad = nullptr 
)
void SelectionDAGBuilder::LowerStatepoint ( ImmutableStatepoint  Statepoint,
MachineBasicBlock LandingPad = nullptr 
)

Definition at line 610 of file StatepointLowering.cpp.

References llvm::Call, llvm::CS, DAG, llvm::SelectionDAG::DeleteNode(), llvm::SmallVectorTemplateCommon< T >::end(), llvm::StatepointBase< FunTy, InstructionTy, ValueTy, CallSiteTy >::gc_transition_args(), llvm::ISD::GC_TRANSITION_END, llvm::ISD::GC_TRANSITION_START, llvm::GCTransition, llvm::StatepointBase< FunTy, InstructionTy, ValueTy, CallSiteTy >::getCallSite(), getCurSDLoc(), llvm::StatepointBase< FunTy, InstructionTy, ValueTy, CallSiteTy >::getFlags(), llvm::SDNode::getGluedNode(), llvm::StatepointBase< FunTy, InstructionTy, ValueTy, CallSiteTy >::getID(), llvm::SelectionDAG::getMachineNode(), llvm::SDValue::getNode(), llvm::SelectionDAG::getNode(), llvm::SDNode::getNumOperands(), llvm::StatepointBase< FunTy, InstructionTy, ValueTy, CallSiteTy >::getNumPatchBytes(), llvm::SDNode::getOperand(), llvm::SelectionDAG::getSrcValue(), llvm::GCFunctionInfo::getStrategy(), llvm::SelectionDAG::getTargetConstant(), llvm::SDValue::getValue(), getValue(), llvm::SelectionDAG::getVTList(), GFI, llvm::MVT::Glue, llvm::MVT::i32, llvm::MVT::i64, llvm::SmallVectorImpl< T >::insert(), llvm::isGCRelocate(), lowerCallFromStatepoint(), lowerStatepointMetaArgs(), llvm::MaskAll, llvm::SDNode::op_begin(), llvm::SDNode::op_end(), llvm::MVT::Other, llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), pushStackMapConstant(), llvm::SelectionDAG::ReplaceAllUsesWith(), llvm::StatepointLoweringState::scheduleRelocCall(), llvm::StatepointLoweringState::startNewStatepoint(), llvm::TargetOpcode::STATEPOINT, StatepointLowering, llvm::GCStrategy::useStatepoints(), and llvm::StatepointBase< FunTy, InstructionTy, ValueTy, CallSiteTy >::verify().

void SelectionDAGBuilder::resolveDanglingDebugInfo ( const Value V,
SDValue  Val 
)
void llvm::SelectionDAGBuilder::setUnusedArgValue ( const Value V,
SDValue  NewN 
)
inline

Definition at line 687 of file SelectionDAGBuilder.h.

References llvm::SDValue::getNode(), and N.

void llvm::SelectionDAGBuilder::setValue ( const Value V,
SDValue  NewN 
)
inline

Definition at line 681 of file SelectionDAGBuilder.h.

References llvm::SDValue::getNode(), and N.

Referenced by getUniformBase(), lowerCallFromStatepoint(), and LowerCallTo().

bool SelectionDAGBuilder::ShouldEmitAsBranches ( const std::vector< CaseBlock > &  Cases)

If the set of cases should be emitted as a series of branches, return true.

If we should emit this as a bunch of and/or'd together conditions, return false.

Definition at line 1519 of file SelectionDAGBuilder.cpp.

References llvm::ISD::SETEQ, and llvm::ISD::SETNE.

void SelectionDAGBuilder::UpdateSplitBlock ( MachineBasicBlock First,
MachineBasicBlock Last 
)

UpdateSplitBlock - When an MBB was split during scheduling, update the references that need to refer to the last resulting block.

Definition at line 2087 of file SelectionDAGBuilder.cpp.

References BitTestCases, and JTCases.

void SelectionDAGBuilder::visit ( const Instruction I)
void SelectionDAGBuilder::visit ( unsigned  Opcode,
const User I 
)

Definition at line 920 of file SelectionDAGBuilder.cpp.

References llvm_unreachable.

void SelectionDAGBuilder::visitBitTestCase ( BitTestBlock &  BB,
MachineBasicBlock NextMBB,
uint32_t  BranchWeightToNext,
unsigned  Reg,
BitTestCase &  B,
MachineBasicBlock SwitchBB 
)
void SelectionDAGBuilder::visitBitTestHeader ( BitTestBlock &  B,
MachineBasicBlock SwitchBB 
)
void SelectionDAGBuilder::visitJumpTable ( JumpTable &  JT)
void SelectionDAGBuilder::visitJumpTableHeader ( JumpTable &  JT,
JumpTableHeader &  JTH,
MachineBasicBlock SwitchBB 
)
void SelectionDAGBuilder::visitSPDescriptorFailure ( StackProtectorDescriptor &  SPD)

Codegen the failure basic block for a stack protector check.

A failure stack protector machine basic block consists simply of a call to __stack_chk_fail().

For a high level explanation of how this fits into the stack protector generation see the comment on the declaration of class StackProtectorDescriptor.

Definition at line 1836 of file SelectionDAGBuilder.cpp.

References DAG, getCurSDLoc(), llvm::SelectionDAG::getTargetLoweringInfo(), llvm::MVT::isVoid, llvm::TargetLowering::makeLibCall(), llvm::SelectionDAG::setRoot(), and llvm::RTLIB::STACKPROTECTOR_CHECK_FAIL.

void SelectionDAGBuilder::visitSPDescriptorParent ( StackProtectorDescriptor &  SPD,
MachineBasicBlock ParentBB 
)
void SelectionDAGBuilder::visitSwitchCase ( CaseBlock &  CB,
MachineBasicBlock SwitchBB 
)

Member Data Documentation

AliasAnalysis* llvm::SelectionDAGBuilder::AA

Definition at line 571 of file SelectionDAGBuilder.h.

Referenced by getMemCmpLoad(), and init().

std::vector<BitTestBlock> llvm::SelectionDAGBuilder::BitTestCases

BitTestCases - Vector of BitTestBlock structures used to communicate SwitchInst code generation information.

Definition at line 582 of file SelectionDAGBuilder.h.

Referenced by UpdateSplitBlock().

DenseMap<const Constant *, unsigned> llvm::SelectionDAGBuilder::ConstantsOut

Definition at line 589 of file SelectionDAGBuilder.h.

LLVMContext* llvm::SelectionDAGBuilder::Context

Definition at line 611 of file SelectionDAGBuilder.h.

Referenced by init().

SelectionDAG& llvm::SelectionDAGBuilder::DAG
const DataLayout* llvm::SelectionDAGBuilder::DL

Definition at line 570 of file SelectionDAGBuilder.h.

Referenced by getMemCmpLoad(), init(), and visitSPDescriptorParent().

FunctionLoweringInfo& llvm::SelectionDAGBuilder::FuncInfo
GCFunctionInfo* llvm::SelectionDAGBuilder::GFI

GFI - Garbage collection metadata for the function.

Definition at line 600 of file SelectionDAGBuilder.h.

Referenced by init(), LowerStatepoint(), and lowerStatepointMetaArgs().

bool llvm::SelectionDAGBuilder::HasTailCall

HasTailCall - This is set to true if a call in the current block has been translated as a tail call.

In this case, no subsequent DAG nodes should be created.

Definition at line 609 of file SelectionDAGBuilder.h.

Referenced by clear(), and visit().

std::vector<JumpTableBlock> llvm::SelectionDAGBuilder::JTCases

JTCases - Vector of JumpTable structures used to communicate SwitchInst code generation information.

Definition at line 579 of file SelectionDAGBuilder.h.

Referenced by UpdateSplitBlock().

const TargetLibraryInfo* llvm::SelectionDAGBuilder::LibInfo

Definition at line 572 of file SelectionDAGBuilder.h.

Referenced by init().

const unsigned llvm::SelectionDAGBuilder::LowestSDNodeOrder = 1
static

Lowest valid SDNodeOrder.

The special case 0 is reserved for scheduling nodes without a corresponding SDNode.

Definition at line 567 of file SelectionDAGBuilder.h.

Referenced by clear().

DenseMap<MachineBasicBlock*, SmallVector<unsigned, 4> > llvm::SelectionDAGBuilder::LPadToCallSiteMap

LPadToCallSiteMap - Map a landing pad to the call site indexes.

Definition at line 603 of file SelectionDAGBuilder.h.

Referenced by init().

CodeGenOpt::Level llvm::SelectionDAGBuilder::OptLevel

OptLevel - What optimization level we're generating code for.

Definition at line 597 of file SelectionDAGBuilder.h.

SmallVector<SDValue, 8> llvm::SelectionDAGBuilder::PendingLoads

PendingLoads - Loads are not emitted to the program immediately.

We bunch them up and then emit token factor nodes when possible. This allows us to get simple disambiguation between loads without worrying about alias analysis.

Definition at line 120 of file SelectionDAGBuilder.h.

Referenced by clear(), getMemCmpLoad(), and getRoot().

StackProtectorDescriptor llvm::SelectionDAGBuilder::SPDescriptor

A StackProtectorDescriptor structure used to communicate stack protector information in between SelectBasicBlock and FinishBasicBlock.

Definition at line 585 of file SelectionDAGBuilder.h.

StatepointLoweringState llvm::SelectionDAGBuilder::StatepointLowering

State used while lowering a statepoint sequence (gc_statepoint, gc_relocate, and gc_result).

See StatepointLowering.hpp/cpp for details.

Definition at line 124 of file SelectionDAGBuilder.h.

Referenced by clear(), LowerStatepoint(), lowerStatepointMetaArgs(), reservePreviousStackSlotForValue(), and spillIncomingStatepointValue().

std::vector<CaseBlock> llvm::SelectionDAGBuilder::SwitchCases

SwitchCases - Vector of CaseBlock structures used to communicate SwitchInst code generation information.

Definition at line 576 of file SelectionDAGBuilder.h.

Referenced by EmitBranchForMergedCondition().


The documentation for this class was generated from the following files: