Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DOperator.cpp107 if (auto ConstOffset = dyn_cast<ConstantInt>(V)) { in accumulateConstantOffset() local
108 if (ConstOffset->isZero()) in accumulateConstantOffset()
116 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset()
125 if (!AccumulateOffset(ConstOffset->getValue(), in accumulateConstantOffset()
167 if (auto ConstOffset = dyn_cast<ConstantInt>(V)) { in collectOffset() local
168 if (ConstOffset->isZero()) in collectOffset()
179 unsigned ElementIdx = ConstOffset->getZExtValue(); in collectOffset()
186 CollectConstantOffset(ConstOffset->getValue(), in collectOffset()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp3454 int64_t ConstOffset; in selectFlatOffsetImpl() local
3455 std::tie(PtrBase, ConstOffset) = in selectFlatOffsetImpl()
3457 if (ConstOffset == 0) in selectFlatOffsetImpl()
3461 if (!TII.isLegalFLATOffset(ConstOffset, AddrSpace, FlatVariant)) in selectFlatOffsetImpl()
3464 return std::make_pair(PtrBase, ConstOffset); in selectFlatOffsetImpl()
3520 int64_t ConstOffset; in selectGlobalSAddr() local
3525 std::tie(PtrBase, ConstOffset) = getPtrBaseWithConstantOffset(Addr, *MRI); in selectGlobalSAddr()
3527 if (ConstOffset != 0) { in selectGlobalSAddr()
3528 if (TII.isLegalFLATOffset(ConstOffset, AMDGPUAS::GLOBAL_ADDRESS, in selectGlobalSAddr()
3531 ImmOffset = ConstOffset; in selectGlobalSAddr()
[all …]
H A DAMDGPURegisterBankInfo.cpp1856 unsigned ConstOffset) { in reinsertVectorIndexAdd() argument
1862 auto MaterializedOffset = B.buildConstant(S32, ConstOffset); in reinsertVectorIndexAdd()
2603 unsigned ConstOffset; in applyMappingImpl() local
2604 std::tie(BaseIdxReg, ConstOffset) = in applyMappingImpl()
2612 ConstOffset > 0 && in applyMappingImpl()
2613 ConstOffset < SrcTy.getNumElements(); in applyMappingImpl()
2643 reinsertVectorIndexAdd(B, MI, 2, ConstOffset); in applyMappingImpl()
2706 reinsertVectorIndexAdd(B, *IdxLo, 1, ConstOffset); in applyMappingImpl()
2734 unsigned ConstOffset; in applyMappingImpl() local
2735 std::tie(BaseIdxReg, ConstOffset) = in applyMappingImpl()
[all …]
H A DAMDGPUISelDAGToDAG.cpp2501 if (ConstantSDNode *ConstOffset = dyn_cast<ConstantSDNode>(BaseOffset)) { in SelectDS_GWS() local
2507 ImmOffset = ConstOffset->getZExtValue(); in SelectDS_GWS()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp383 auto ConstOffset = buildConstant(OffsetTy, Offset); in buildLoadFromOffset() local
384 auto Ptr = buildPtrAdd(PtrTy, BasePtr, ConstOffset); in buildLoadFromOffset()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4210 auto ConstOffset = DAG.getConstant(OffsetVal, SDLoc(Index), MVT::i64); in selectGatherScatterAddrMode() local
4214 BasePtr = ConstOffset; in selectGatherScatterAddrMode()
4222 Index = ConstOffset; in selectGatherScatterAddrMode()