Home
last modified time | relevance | path

Searched refs:OffsetVal (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectStreamer.cpp688 MCValue OffsetVal; in getOffsetAndDataFragment() local
693 if (OffsetVal.isAbsolute()) { in getOffsetAndDataFragment()
694 RelocOffset = OffsetVal.getConstant(); in getOffsetAndDataFragment()
706 if (OffsetVal.getSymB()) in getOffsetAndDataFragment()
762 MCValue OffsetVal; in emitRelocDirective() local
763 if (!Offset.evaluateAsRelocatable(OffsetVal, nullptr, nullptr)) in emitRelocDirective()
766 if (OffsetVal.isAbsolute()) { in emitRelocDirective()
767 if (OffsetVal.getConstant() < 0) in emitRelocDirective()
770 MCFixup::create(OffsetVal.getConstant(), Expr, Kind, Loc)); in emitRelocDirective()
773 if (OffsetVal.getSymB()) in emitRelocDirective()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp903 uint32_t OffsetVal = Offset->getZExtValue(); in Select() local
907 SDLoc(N), N->getOperand(0), OffsetVal, WidthVal)); in Select()
1739 int64_t OffsetVal = 0; in SelectFlatOffsetImpl() local
1756 OffsetVal = COffsetVal; in SelectFlatOffsetImpl()
1771 std::tie(OffsetVal, RemainderOffset) = in SelectFlatOffsetImpl()
1825 Offset = CurDAG->getTargetConstant(OffsetVal, SDLoc(), MVT::i16); in SelectFlatOffsetImpl()
2518 const APInt &OffsetVal = cast<ConstantSDNode>(PtrOffset)->getAPIntValue(); in SelectDSAppendConsume() local
2519 if (isDSOffsetLegal(PtrBase, OffsetVal.getZExtValue())) { in SelectDSAppendConsume()
2521 Offset = CurDAG->getTargetConstant(OffsetVal, SDLoc(), MVT::i32); in SelectDSAppendConsume()
H A DAMDGPUInstructionSelector.cpp4310 Optional<int64_t> OffsetVal = getConstantVRegSExtVal(Reg, MRI); in getConstantZext32Val() local
4311 if (!OffsetVal || !isInt<32>(*OffsetVal)) in getConstantZext32Val()
4313 return Lo_32(*OffsetVal); in getConstantZext32Val()
4318 Optional<uint64_t> OffsetVal = getConstantZext32Val(Root.getReg(), *MRI); in selectSMRDBufferImm() local
4319 if (!OffsetVal) in selectSMRDBufferImm()
4323 AMDGPU::getSMRDEncodedOffset(STI, *OffsetVal, true); in selectSMRDBufferImm()
4334 Optional<uint64_t> OffsetVal = getConstantZext32Val(Root.getReg(), *MRI); in selectSMRDBufferImm32() local
4335 if (!OffsetVal) in selectSMRDBufferImm32()
4339 = AMDGPU::getSMRDEncodedLiteralOffset32(STI, *OffsetVal); in selectSMRDBufferImm32()
H A DAMDGPUISelLowering.cpp4130 uint32_t OffsetVal = Offset->getZExtValue() & 0x1f; in PerformDAGCombine() local
4134 if (OffsetVal == 0) { in PerformDAGCombine()
4161 OffsetVal, in PerformDAGCombine()
4168 OffsetVal, in PerformDAGCombine()
4173 if ((OffsetVal + WidthVal) >= 32 && in PerformDAGCombine()
4174 !(Subtarget->hasSDWA() && OffsetVal == 16 && WidthVal == 16)) { in PerformDAGCombine()
4175 SDValue ShiftVal = DAG.getConstant(OffsetVal, DL, MVT::i32); in PerformDAGCombine()
4182 OffsetVal, in PerformDAGCombine()
4183 OffsetVal + WidthVal); in PerformDAGCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp2160 unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue(); in tryLoadParam() local
2163 Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32)); in tryLoadParam()
2175 unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue(); in tryStoreRetval() local
2198 Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32)); in tryStoreRetval()
2247 unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue(); in tryStoreParam() local
2274 Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32)); in tryStoreParam()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp7116 int64_t OffsetVal = 0; in isPointerOffset() local
7122 OffsetVal += *Offset; in isPointerOffset()
7132 return OffsetVal; in isPointerOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp7800 int64_t OffsetVal; in parseDirectiveCPSetup() local
7804 !OffsetExpr->evaluateAsAbsolute(OffsetVal)) { in parseDirectiveCPSetup()
7809 Save = OffsetVal; in parseDirectiveCPSetup()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1373 int OffsetVal = (int)OffsetOp->getZExtValue(); in tryIndexedLoad() local
1375 SDValue Offset = CurDAG->getTargetConstant(OffsetVal, dl, MVT::i64); in tryIndexedLoad()
H A DAArch64ISelLowering.cpp4303 uint64_t OffsetVal = Offset->getZExtValue(); in selectGatherScatterAddrMode() local
4305 auto ConstOffset = DAG.getConstant(OffsetVal, SDLoc(Index), MVT::i64); in selectGatherScatterAddrMode()
4307 if (OffsetVal % ScalarSizeInBytes || OffsetVal / ScalarSizeInBytes > 31) { in selectGatherScatterAddrMode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp498 Constant *OffsetVal = ConstantInt::get(IntPtrTy, NewOffs); in evaluateGEPOffsetExpression() local
499 return IC.Builder.CreateAdd(VariableIdx, OffsetVal, "offset"); in evaluateGEPOffsetExpression()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp6931 SDValue OffsetVal = in visitIntrinsicCall() local
6935 SDValue Add = DAG.getMemBasePlusOffset(FPVal, OffsetVal, sdl); in visitIntrinsicCall()