Home
last modified time | relevance | path

Searched refs:OffsetDiff (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp129 int64_t OffsetDiff = EltOffset - AlignDownOffset; in runOnFunction() local
203 Value *ExtractBits = OffsetDiff == 0 ? in runOnFunction()
204 Load : Builder.CreateLShr(Load, OffsetDiff * 8); in runOnFunction()
DSILoadStoreOptimizer.cpp289 unsigned OffsetDiff = std::abs((int)EltOffset1 - (int)EltOffset0); in offsetsCanBeCombined() local
292 if ((OffsetDiff % 64 == 0) && isUInt<8>(OffsetDiff / 64)) { in offsetsCanBeCombined()
299 if (isUInt<8>(OffsetDiff)) { in offsetsCanBeCombined()
DSIISelLowering.cpp1252 int64_t OffsetDiff = Offset - AlignDownOffset; in lowerKernargMemParameter() local
1263 SDValue ShiftAmt = DAG.getConstant(OffsetDiff * 8, SL, MVT::i32); in lowerKernargMemParameter()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp1819 int32_t OffsetDiff = Offset - TempBaseOffset; in createMemOperand() local
1820 assert(AllowOffsets || OffsetDiff == 0); in createMemOperand()
1822 if (!Target->isLegalMemOffset(Ty, OffsetDiff)) { in createMemOperand()
1824 OffsetDiff = 0; in createMemOperand()
1830 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(OffsetDiff)), in createMemOperand()
1993 const int32_t OffsetDiff = Offset - TempBaseOffset; in legalizeMemOperand() local
1994 if (OffsetDiff == 0) { in legalizeMemOperand()
1996 } else if (OperandARM32FlexImm::canHoldImm(OffsetDiff, &Rotate, &Imm8)) { in legalizeMemOperand()
2000 TempBaseOffset += OffsetDiff; in legalizeMemOperand()
2002 } else if (OperandARM32FlexImm::canHoldImm(-OffsetDiff, &Rotate, &Imm8)) { in legalizeMemOperand()
[all …]
/external/llvm/lib/CodeGen/
DMachinePipeliner.cpp3378 int OffsetDiff = DefStageNum - BaseStageNum; in applyInstrChange() local
3381 if (OffsetDiff > 0) in applyInstrChange()
3382 --OffsetDiff; in applyInstrChange()
3385 MI->getOperand(OffsetPos).getImm() + RegAndOffset.second * OffsetDiff; in applyInstrChange()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachinePipeliner.cpp3505 int OffsetDiff = DefStageNum - BaseStageNum; in applyInstrChange() local
3508 if (OffsetDiff > 0) in applyInstrChange()
3509 --OffsetDiff; in applyInstrChange()
3512 MI->getOperand(OffsetPos).getImm() + RegAndOffset.second * OffsetDiff; in applyInstrChange()