LLVM  4.0.0
Functions
GCRootLowering.cpp File Reference
#include "llvm/CodeGen/GCMetadata.h"
#include "llvm/CodeGen/GCStrategy.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetFrameLowering.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
Include dependency graph for GCRootLowering.cpp:

Go to the source code of this file.

Functions

 INITIALIZE_PASS_BEGIN (LowerIntrinsics,"gc-lowering","GC Lowering", false, false) FunctionPass *llvm
 
static bool NeedsDefaultLoweringPass (const GCStrategy &C)
 
static bool CouldBecomeSafePoint (Instruction *I)
 CouldBecomeSafePoint - Predicate to conservatively determine whether the instruction could introduce a safe point. More...
 
static bool InsertRootInitializers (Function &F, AllocaInst **Roots, unsigned Count)
 
 INITIALIZE_PASS (GCMachineCodeAnalysis,"gc-analysis","Analyze Machine Code For Garbage Collection", false, false) GCMachineCodeAnalysis
 

Function Documentation

static bool CouldBecomeSafePoint ( Instruction I)
static

CouldBecomeSafePoint - Predicate to conservatively determine whether the instruction could introduce a safe point.

Definition at line 126 of file GCRootLowering.cpp.

References F.

Referenced by InsertRootInitializers().

INITIALIZE_PASS ( GCMachineCodeAnalysis  ,
"gc-analysis ,
"Analyze Machine Code For Garbage Collection"  ,
false  ,
false   
)

Definition at line 259 of file GCRootLowering.cpp.

INITIALIZE_PASS_BEGIN ( LowerIntrinsics  ,
"gc-lowering ,
"GC Lowering ,
false  ,
false   
)

Definition at line 83 of file GCRootLowering.cpp.

static bool InsertRootInitializers ( Function F,
AllocaInst **  Roots,
unsigned  Count 
)
static
static bool NeedsDefaultLoweringPass ( const GCStrategy C)
static