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()
550 for (const auto *Relocate : SI.GCRelocates) in lowerStatepointMetaArgs() local
551 if (Relocate->getOperand(0) == LPI) { in lowerStatepointMetaArgs()
552 LPadPointers.insert(Builder.getValue(Relocate->getBasePtr())); in lowerStatepointMetaArgs()
553 LPadPointers.insert(Builder.getValue(Relocate->getDerivedPtr())); in lowerStatepointMetaArgs()
869 for (const auto *Relocate : SI.GCRelocates) { in LowerAsSTATEPOINT() local
870 Value *Derived = Relocate->getDerivedPtr(); in LowerAsSTATEPOINT()
879 if (SI.StatepointInstr->getParent() == Relocate->getParent()) { in LowerAsSTATEPOINT()
892 auto *RetTy = Relocate->getType(); in LowerAsSTATEPOINT()
907 for (const GCRelocateInst *Relocate : SI.GCRelocates) { in LowerAsSTATEPOINT() local
908 const Value *V = Relocate->getDerivedPtr(); in LowerAsSTATEPOINT()
912 bool IsLocal = (Relocate->getParent() == StatepointInstr->getParent()); in LowerAsSTATEPOINT()
931 if (Relocate->getParent() != StatepointInstr->getParent()) in LowerAsSTATEPOINT()
934 RelocationMap[Relocate] = Record; in LowerAsSTATEPOINT()
1061 for (const GCRelocateInst *Relocate : I.getGCRelocates()) { in LowerStatepoint() local
1062 SI.GCRelocates.push_back(Relocate); in LowerStatepoint()
1064 SDValue DerivedSD = getValue(Relocate->getDerivedPtr()); in LowerStatepoint()
1066 SI.Bases.push_back(Relocate->getBasePtr()); in LowerStatepoint()
1067 SI.Ptrs.push_back(Relocate->getDerivedPtr()); in LowerStatepoint()
1204 void SelectionDAGBuilder::visitGCRelocate(const GCRelocateInst &Relocate) { in visitGCRelocate() argument
1205 const Value *Statepoint = Relocate.getStatepoint(); in visitGCRelocate()
1216 if (cast<GCStatepointInst>(Statepoint)->getParent() == Relocate.getParent()) in visitGCRelocate()
1217 StatepointLowering.relocCallVisited(Relocate); in visitGCRelocate()
1220 const Value *DerivedPtr = Relocate.getDerivedPtr(); in visitGCRelocate()
1223 auto SlotIt = RelocationMap.find(&Relocate); in visitGCRelocate()
1230 Relocate.getParent() && in visitGCRelocate()
1234 setValue(&Relocate, SDV); in visitGCRelocate()
1240 DAG.getDataLayout(), InReg, Relocate.getType(), in visitGCRelocate()
1248 setValue(&Relocate, Relocation); in visitGCRelocate()
1273 Relocate.getType()); in visitGCRelocate()
1280 setValue(&Relocate, SpillLoad); in visitGCRelocate()
1290 setValue(&Relocate, DAG.getTargetConstant(0xFEFEFEFE, SDLoc(SD), MVT::i64)); in visitGCRelocate()
1296 setValue(&Relocate, SD); in visitGCRelocate()