Lines Matching refs:Relocate

171   if (const auto *Relocate = dyn_cast<GCRelocateInst>(Val)) {  in findPreviousSpillSlot()  local
172 const Value *Statepoint = Relocate->getStatepoint(); in findPreviousSpillSlot()
181 auto It = RelocationMap.find(Relocate); in findPreviousSpillSlot()
581 for (const auto *Relocate : SI.GCRelocates) in lowerStatepointMetaArgs() local
582 if (Relocate->getOperand(0) == LPI) { in lowerStatepointMetaArgs()
583 LPadPointers.insert(Builder.getValue(Relocate->getBasePtr())); in lowerStatepointMetaArgs()
584 LPadPointers.insert(Builder.getValue(Relocate->getDerivedPtr())); in lowerStatepointMetaArgs()
898 for (const auto *Relocate : SI.GCRelocates) { in LowerAsSTATEPOINT() local
899 Value *Derived = Relocate->getDerivedPtr(); in LowerAsSTATEPOINT()
908 if (SI.StatepointInstr->getParent() == Relocate->getParent()) { in LowerAsSTATEPOINT()
921 auto *RetTy = Relocate->getType(); in LowerAsSTATEPOINT()
936 for (const GCRelocateInst *Relocate : SI.GCRelocates) { in LowerAsSTATEPOINT() local
937 const Value *V = Relocate->getDerivedPtr(); in LowerAsSTATEPOINT()
941 bool IsLocal = (Relocate->getParent() == StatepointInstr->getParent()); in LowerAsSTATEPOINT()
960 if (Relocate->getParent() != StatepointInstr->getParent()) in LowerAsSTATEPOINT()
963 RelocationMap[Relocate] = Record; in LowerAsSTATEPOINT()
1084 for (const GCRelocateInst *Relocate : I.getGCRelocates()) { in LowerStatepoint() local
1085 SI.GCRelocates.push_back(Relocate); in LowerStatepoint()
1087 SDValue DerivedSD = getValue(Relocate->getDerivedPtr()); in LowerStatepoint()
1089 SI.Bases.push_back(Relocate->getBasePtr()); in LowerStatepoint()
1090 SI.Ptrs.push_back(Relocate->getDerivedPtr()); in LowerStatepoint()
1228 void SelectionDAGBuilder::visitGCRelocate(const GCRelocateInst &Relocate) { in visitGCRelocate() argument
1229 const Value *Statepoint = Relocate.getStatepoint(); in visitGCRelocate()
1240 if (cast<GCStatepointInst>(Statepoint)->getParent() == Relocate.getParent()) in visitGCRelocate()
1241 StatepointLowering.relocCallVisited(Relocate); in visitGCRelocate()
1243 auto *Ty = Relocate.getType()->getScalarType(); in visitGCRelocate()
1248 const Value *DerivedPtr = Relocate.getDerivedPtr(); in visitGCRelocate()
1251 auto SlotIt = RelocationMap.find(&Relocate); in visitGCRelocate()
1258 Relocate.getParent() && in visitGCRelocate()
1262 setValue(&Relocate, SDV); in visitGCRelocate()
1268 DAG.getDataLayout(), InReg, Relocate.getType(), in visitGCRelocate()
1276 setValue(&Relocate, Relocation); in visitGCRelocate()
1301 Relocate.getType()); in visitGCRelocate()
1308 setValue(&Relocate, SpillLoad); in visitGCRelocate()
1318 setValue(&Relocate, DAG.getTargetConstant(0xFEFEFEFE, SDLoc(SD), MVT::i64)); in visitGCRelocate()
1324 setValue(&Relocate, SD); in visitGCRelocate()