Searched refs:Load0 (Results 1 – 3 of 3) sorted by relevance
258 LoadInst *Load0) { in canHoistFromBlock() argument269 BasicBlock *BB0 = Load0->getParent(); in canHoistFromBlock()271 MemoryLocation Loc0 = MemoryLocation::get(Load0); in canHoistFromBlock()273 if (AA->isMustAlias(Loc0, Loc1) && Load0->isSameOperationAs(Load1) && in canHoistFromBlock()275 !isLoadHoistBarrierInRange(BB0->front(), *Load0, Load0)) { in canHoistFromBlock()
92 bool SIInstrInfo::areLoadsFromSameBasePtr(SDNode *Load0, SDNode *Load1, in areLoadsFromSameBasePtr() argument95 if (!Load0->isMachineOpcode() || !Load1->isMachineOpcode()) in areLoadsFromSameBasePtr()98 unsigned Opc0 = Load0->getMachineOpcode(); in areLoadsFromSameBasePtr()108 if (getNumOperandsNoGlue(Load0) != getNumOperandsNoGlue(Load1)) in areLoadsFromSameBasePtr()112 if (Load0->getOperand(1) != Load1->getOperand(1)) in areLoadsFromSameBasePtr()116 if (findChainOperand(Load0) != findChainOperand(Load1)) in areLoadsFromSameBasePtr()126 Offset0 = cast<ConstantSDNode>(Load0->getOperand(2))->getZExtValue(); in areLoadsFromSameBasePtr()132 assert(getNumOperandsNoGlue(Load0) == getNumOperandsNoGlue(Load1)); in areLoadsFromSameBasePtr()135 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr()139 dyn_cast<ConstantSDNode>(Load0->getOperand(1)); in areLoadsFromSameBasePtr()[all …]
205 bool AMDGPUInstrInfo::shouldScheduleLoadsNear(SDNode *Load0, SDNode *Load1, in shouldScheduleLoadsNear() argument