Lines Matching refs:Relocate

169   if (const auto *Relocate = dyn_cast<GCRelocateInst>(Val)) {  in findPreviousSpillSlot()  local
170 const Value *Statepoint = Relocate->getStatepoint(); in findPreviousSpillSlot()
179 auto It = RelocationMap.find(Relocate); in findPreviousSpillSlot()
553 for (const auto *Relocate : SI.GCRelocates) in lowerStatepointMetaArgs() local
554 if (Relocate->getOperand(0) == LPI) { in lowerStatepointMetaArgs()
555 LPadPointers.insert(Builder.getValue(Relocate->getBasePtr())); in lowerStatepointMetaArgs()
556 LPadPointers.insert(Builder.getValue(Relocate->getDerivedPtr())); in lowerStatepointMetaArgs()
872 for (const auto *Relocate : SI.GCRelocates) { in LowerAsSTATEPOINT() local
873 Value *Derived = Relocate->getDerivedPtr(); in LowerAsSTATEPOINT()
882 if (SI.StatepointInstr->getParent() == Relocate->getParent()) { in LowerAsSTATEPOINT()
895 auto *RetTy = Relocate->getType(); in LowerAsSTATEPOINT()
910 for (const GCRelocateInst *Relocate : SI.GCRelocates) { in LowerAsSTATEPOINT() local
911 const Value *V = Relocate->getDerivedPtr(); in LowerAsSTATEPOINT()
915 bool IsLocal = (Relocate->getParent() == StatepointInstr->getParent()); in LowerAsSTATEPOINT()
934 if (Relocate->getParent() != StatepointInstr->getParent()) in LowerAsSTATEPOINT()
937 RelocationMap[Relocate] = Record; in LowerAsSTATEPOINT()
1064 for (const GCRelocateInst *Relocate : I.getGCRelocates()) { in LowerStatepoint() local
1065 SI.GCRelocates.push_back(Relocate); in LowerStatepoint()
1067 SDValue DerivedSD = getValue(Relocate->getDerivedPtr()); in LowerStatepoint()
1069 SI.Bases.push_back(Relocate->getBasePtr()); in LowerStatepoint()
1070 SI.Ptrs.push_back(Relocate->getDerivedPtr()); in LowerStatepoint()
1207 void SelectionDAGBuilder::visitGCRelocate(const GCRelocateInst &Relocate) { in visitGCRelocate() argument
1208 const Value *Statepoint = Relocate.getStatepoint(); in visitGCRelocate()
1219 if (cast<GCStatepointInst>(Statepoint)->getParent() == Relocate.getParent()) in visitGCRelocate()
1220 StatepointLowering.relocCallVisited(Relocate); in visitGCRelocate()
1223 const Value *DerivedPtr = Relocate.getDerivedPtr(); in visitGCRelocate()
1226 auto SlotIt = RelocationMap.find(&Relocate); in visitGCRelocate()
1233 Relocate.getParent() && in visitGCRelocate()
1237 setValue(&Relocate, SDV); in visitGCRelocate()
1243 DAG.getDataLayout(), InReg, Relocate.getType(), in visitGCRelocate()
1251 setValue(&Relocate, Relocation); in visitGCRelocate()
1276 Relocate.getType()); in visitGCRelocate()
1283 setValue(&Relocate, SpillLoad); in visitGCRelocate()
1293 setValue(&Relocate, DAG.getConstant(0xFEFEFEFE, SDLoc(SD), MVT::i64)); in visitGCRelocate()
1299 setValue(&Relocate, SD); in visitGCRelocate()