|
LLVM
4.0.0
|
#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"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 | |
|
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.
Definition at line 83 of file GCRootLowering.cpp.
|
static |
Definition at line 152 of file GCRootLowering.cpp.
References llvm::BasicBlock::begin(), CouldBecomeSafePoint(), llvm::SmallPtrSetImpl< PtrType >::count(), E, llvm::Function::getEntryBlock(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::Instruction::insertAfter(), and SI.
|
static |
Definition at line 106 of file GCRootLowering.cpp.
References llvm::GCStrategy::customReadBarrier(), llvm::GCStrategy::customWriteBarrier(), and llvm::GCStrategy::initializeRoots().
1.8.6