Lines Matching defs:LowerIntrinsics
39 /// LowerIntrinsics - This pass rewrites calls to the llvm.gcread or
43 class LowerIntrinsics : public FunctionPass {
54 LowerIntrinsics();
133 INITIALIZE_PASS_BEGIN(LowerIntrinsics, "gc-lowering", "GC Lowering",
136 INITIALIZE_PASS_END(LowerIntrinsics, "gc-lowering", "GC Lowering", false, false)
139 return new LowerIntrinsics();
142 char LowerIntrinsics::ID = 0;
144 LowerIntrinsics::LowerIntrinsics()
149 const char *LowerIntrinsics::getPassName() const {
153 void LowerIntrinsics::getAnalysisUsage(AnalysisUsage &AU) const {
160 bool LowerIntrinsics::doInitialization(Module &M) {
166 assert(MI && "LowerIntrinsics didn't require GCModuleInfo!?");
180 bool LowerIntrinsics::InsertRootInitializers(Function &F, AllocaInst **Roots,
209 bool LowerIntrinsics::NeedsDefaultLoweringPass(const GCStrategy &C) {
217 bool LowerIntrinsics::NeedsCustomLoweringPass(const GCStrategy &C) {
226 bool LowerIntrinsics::CouldBecomeSafePoint(Instruction *I) {
254 bool LowerIntrinsics::runOnFunction(Function &F) {
280 bool LowerIntrinsics::PerformDefaultLowering(Function &F, GCStrategy &S) {