LLVM 17.0.0git
|
#include "llvm/CodeGen/GCMetadata.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/MC/MCContext.h"
Go to the source code of this file.
Functions | |
INITIALIZE_PASS_BEGIN (LowerIntrinsics, "gc-lowering", "GC Lowering", false, false) FunctionPass *llvm | |
static bool | CouldBecomeSafePoint (Instruction *I) |
CouldBecomeSafePoint - Predicate to conservatively determine whether the instruction could introduce a safe point. | |
static bool | InsertRootInitializers (Function &F, ArrayRef< AllocaInst * > Roots) |
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 114 of file GCRootLowering.cpp.
Referenced by InsertRootInitializers().
INITIALIZE_PASS | ( | GCMachineCodeAnalysis | , |
"gc-analysis" | , | ||
"Analyze Machine Code For Garbage Collection" | , | ||
false | , | ||
false | |||
) |
Definition at line 240 of file GCRootLowering.cpp.
INITIALIZE_PASS_BEGIN | ( | LowerIntrinsics | , |
"gc-lowering" | , | ||
"GC Lowering" | , | ||
false | , | ||
false | |||
) |
Definition at line 77 of file GCRootLowering.cpp.
|
static |
Definition at line 140 of file GCRootLowering.cpp.
References CouldBecomeSafePoint(), llvm::SmallPtrSetImpl< PtrType >::count(), F, llvm::ConstantPointerNull::get(), llvm::SmallPtrSetImpl< PtrType >::insert(), and SI.