LLVM  6.0.0svn
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

◆ CouldBecomeSafePoint()

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()

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

◆ INITIALIZE_PASS_BEGIN()

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

◆ InsertRootInitializers()

static bool InsertRootInitializers ( Function F,
AllocaInst **  Roots,
unsigned  Count 
)
static

◆ NeedsDefaultLoweringPass()

static bool NeedsDefaultLoweringPass ( const GCStrategy C)
static