/external/llvm-project/llvm/lib/MC/ |
D | MCObjectStreamer.cpp | 673 MCValue OffsetVal; in getOffsetAndDataFragment() local 674 if(!SymbolExpr->evaluateAsRelocatable(OffsetVal, nullptr, nullptr)) in getOffsetAndDataFragment() 678 if (OffsetVal.isAbsolute()) { in getOffsetAndDataFragment() 679 RelocOffset = OffsetVal.getConstant(); in getOffsetAndDataFragment() 691 if (OffsetVal.getSymB()) in getOffsetAndDataFragment() 696 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*OffsetVal.getSymA()); in getOffsetAndDataFragment() 714 RelocOffset = SRE.getSymbol().getOffset() + OffsetVal.getConstant(); in getOffsetAndDataFragment() 747 MCValue OffsetVal; in emitRelocDirective() local 748 if (!Offset.evaluateAsRelocatable(OffsetVal, nullptr, nullptr)) in emitRelocDirective() 751 if (OffsetVal.isAbsolute()) { in emitRelocDirective() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 866 uint32_t OffsetVal = Offset->getZExtValue(); in Select() local 870 SDLoc(N), N->getOperand(0), OffsetVal, WidthVal)); in Select() 1655 int64_t OffsetVal = 0; in SelectFlatOffset() local 1669 OffsetVal = COffsetVal; in SelectFlatOffset() 1702 OffsetVal = ImmField; in SelectFlatOffset() 1741 Offset = CurDAG->getTargetConstant(OffsetVal, SDLoc(), MVT::i16); in SelectFlatOffset() 2230 const APInt &OffsetVal = cast<ConstantSDNode>(PtrOffset)->getAPIntValue(); in SelectDSAppendConsume() local 2231 if (isDSOffsetLegal(PtrBase, OffsetVal.getZExtValue(), 16)) { in SelectDSAppendConsume() 2233 Offset = CurDAG->getTargetConstant(OffsetVal, SDLoc(), MVT::i32); in SelectDSAppendConsume()
|
D | AMDGPUISelLowering.cpp | 4031 uint32_t OffsetVal = Offset->getZExtValue() & 0x1f; in PerformDAGCombine() local 4035 if (OffsetVal == 0) { in PerformDAGCombine() 4062 OffsetVal, in PerformDAGCombine() 4069 OffsetVal, in PerformDAGCombine() 4074 if ((OffsetVal + WidthVal) >= 32 && in PerformDAGCombine() 4075 !(Subtarget->hasSDWA() && OffsetVal == 16 && WidthVal == 16)) { in PerformDAGCombine() 4076 SDValue ShiftVal = DAG.getConstant(OffsetVal, DL, MVT::i32); in PerformDAGCombine() 4083 OffsetVal, in PerformDAGCombine() 4084 OffsetVal + WidthVal); in PerformDAGCombine()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 853 uint32_t OffsetVal = Offset->getZExtValue(); in Select() local 857 SDLoc(N), N->getOperand(0), OffsetVal, WidthVal)); in Select() 1718 int64_t OffsetVal = 0; in SelectFlatOffset() local 1732 OffsetVal = COffsetVal; in SelectFlatOffset() 1747 std::tie(OffsetVal, RemainderOffset) in SelectFlatOffset() 1801 Offset = CurDAG->getTargetConstant(OffsetVal, SDLoc(), MVT::i16); in SelectFlatOffset() 2460 const APInt &OffsetVal = cast<ConstantSDNode>(PtrOffset)->getAPIntValue(); in SelectDSAppendConsume() local 2461 if (isDSOffsetLegal(PtrBase, OffsetVal.getZExtValue())) { in SelectDSAppendConsume() 2463 Offset = CurDAG->getTargetConstant(OffsetVal, SDLoc(), MVT::i32); in SelectDSAppendConsume()
|
D | AMDGPUInstructionSelector.cpp | 4189 Optional<int64_t> OffsetVal = getConstantVRegVal(Reg, MRI); in getConstantZext32Val() local 4190 if (!OffsetVal || !isInt<32>(*OffsetVal)) in getConstantZext32Val() 4192 return Lo_32(*OffsetVal); in getConstantZext32Val() 4197 Optional<uint64_t> OffsetVal = getConstantZext32Val(Root.getReg(), *MRI); in selectSMRDBufferImm() local 4198 if (!OffsetVal) in selectSMRDBufferImm() 4202 AMDGPU::getSMRDEncodedOffset(STI, *OffsetVal, true); in selectSMRDBufferImm() 4213 Optional<uint64_t> OffsetVal = getConstantZext32Val(Root.getReg(), *MRI); in selectSMRDBufferImm32() local 4214 if (!OffsetVal) in selectSMRDBufferImm32() 4218 = AMDGPU::getSMRDEncodedLiteralOffset32(STI, *OffsetVal); in selectSMRDBufferImm32()
|
D | AMDGPUISelLowering.cpp | 4013 uint32_t OffsetVal = Offset->getZExtValue() & 0x1f; in PerformDAGCombine() local 4017 if (OffsetVal == 0) { in PerformDAGCombine() 4044 OffsetVal, in PerformDAGCombine() 4051 OffsetVal, in PerformDAGCombine() 4056 if ((OffsetVal + WidthVal) >= 32 && in PerformDAGCombine() 4057 !(Subtarget->hasSDWA() && OffsetVal == 16 && WidthVal == 16)) { in PerformDAGCombine() 4058 SDValue ShiftVal = DAG.getConstant(OffsetVal, DL, MVT::i32); in PerformDAGCombine() 4065 OffsetVal, in PerformDAGCombine() 4066 OffsetVal + WidthVal); in PerformDAGCombine()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2654 uint32_t OffsetVal = Offset->getZExtValue() & 0x1f; in PerformDAGCombine() local 2658 if (OffsetVal == 0) { in PerformDAGCombine() 2685 OffsetVal, in PerformDAGCombine() 2692 OffsetVal, in PerformDAGCombine() 2697 if ((OffsetVal + WidthVal) >= 32) { in PerformDAGCombine() 2698 SDValue ShiftVal = DAG.getConstant(OffsetVal, DL, MVT::i32); in PerformDAGCombine() 2705 OffsetVal, in PerformDAGCombine() 2706 OffsetVal + WidthVal); in PerformDAGCombine()
|
D | AMDGPUISelDAGToDAG.cpp | 446 uint32_t OffsetVal = Offset->getZExtValue(); in Select() local 450 SDLoc(N), N->getOperand(0), OffsetVal, WidthVal)); in Select()
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 2160 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 2161 unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue(); in tryLoadParam() local 2164 Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32)); in tryLoadParam() 2176 unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue(); in tryStoreRetval() local 2199 Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32)); in tryStoreRetval() 2248 unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue(); in tryStoreParam() local 2275 Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32)); in tryStoreParam()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 2843 unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue(); in tryLoadParam() local 2846 Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32)); in tryLoadParam() 2858 unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue(); in tryStoreRetval() local 2881 Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32)); in tryStoreRetval() 2984 unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue(); in tryStoreParam() local 3011 Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32)); in tryStoreParam()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.cpp | 2946 int OffsetVal = 0; in getMemOpBaseRegImmOfs() local 2947 BaseReg = getBaseAndOffset(&LdSt, OffsetVal, AccessSize); in getMemOpBaseRegImmOfs() 2948 Offset = OffsetVal; in getMemOpBaseRegImmOfs()
|
D | HexagonISelLowering.cpp | 946 int32_t OffsetVal = cast<ConstantSDNode>(Offset.getNode())->getSExtValue(); in getPostIndexedAddressParts() local 947 if (HII.isValidAutoIncImm(VT, OffsetVal)) { in getPostIndexedAddressParts()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 5948 int64_t OffsetVal = 0; in isPointerOffset() local 5954 OffsetVal += *Offset; in isPointerOffset() 5964 return OffsetVal; in isPointerOffset()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringARM32.cpp | 1764 Operand *OffsetVal = in newBaseRegister() local 1767 Target->_sub(ScratchReg, Base, OffsetVal); in newBaseRegister() 1769 Operand *OffsetVal = in newBaseRegister() local 1772 Target->_add(ScratchReg, Base, OffsetVal); in newBaseRegister()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 5523 int64_t OffsetVal; in parseDirectiveCPSetup() local 5527 !OffsetExpr->evaluateAsAbsolute(OffsetVal)) { in parseDirectiveCPSetup() 5533 Save = OffsetVal; in parseDirectiveCPSetup()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 6728 int64_t OffsetVal = 0; in isPointerOffset() local 6734 OffsetVal += *Offset; in isPointerOffset() 6744 return OffsetVal; in isPointerOffset()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 1109 int OffsetVal = (int)OffsetOp->getZExtValue(); in tryIndexedLoad() local 1111 SDValue Offset = CurDAG->getTargetConstant(OffsetVal, dl, MVT::i64); in tryIndexedLoad()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 601 Constant *OffsetVal = ConstantInt::get(IntPtrTy, NewOffs); in EvaluateGEPOffsetExpression() local 602 return IC.Builder->CreateAdd(VariableIdx, OffsetVal, "offset"); in EvaluateGEPOffsetExpression()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 1254 int OffsetVal = (int)OffsetOp->getZExtValue(); in tryIndexedLoad() local 1256 SDValue Offset = CurDAG->getTargetConstant(OffsetVal, dl, MVT::i64); in tryIndexedLoad()
|
/external/llvm-project/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 7800 int64_t OffsetVal; in parseDirectiveCPSetup() local 7804 !OffsetExpr->evaluateAsAbsolute(OffsetVal)) { in parseDirectiveCPSetup() 7809 Save = OffsetVal; in parseDirectiveCPSetup()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 7557 int64_t OffsetVal; in parseDirectiveCPSetup() local 7561 !OffsetExpr->evaluateAsAbsolute(OffsetVal)) { in parseDirectiveCPSetup() 7566 Save = OffsetVal; in parseDirectiveCPSetup()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 1336 int OffsetVal = (int)OffsetOp->getZExtValue(); in tryIndexedLoad() local 1338 SDValue Offset = CurDAG->getTargetConstant(OffsetVal, dl, MVT::i64); in tryIndexedLoad()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 514 Constant *OffsetVal = ConstantInt::get(IntPtrTy, NewOffs); in evaluateGEPOffsetExpression() local 515 return IC.Builder.CreateAdd(VariableIdx, OffsetVal, "offset"); in evaluateGEPOffsetExpression()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 512 Constant *OffsetVal = ConstantInt::get(IntPtrTy, NewOffs); in evaluateGEPOffsetExpression() local 513 return IC.Builder.CreateAdd(VariableIdx, OffsetVal, "offset"); in evaluateGEPOffsetExpression()
|