Lines Matching defs:Relocate

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