Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUAtomicOptimizer.cpp621 Value *LaneOffset = nullptr; in optimizeAtomic() local
623 LaneOffset = B.CreateIntrinsic(Intrinsic::amdgcn_wwm, Ty, ExclScan); in optimizeAtomic()
630 LaneOffset = buildMul(B, V, Mbcnt); in optimizeAtomic()
638 LaneOffset = B.CreateSelect(Cond, Identity, V); in optimizeAtomic()
641 LaneOffset = buildMul(B, V, B.CreateAnd(Mbcnt, 1)); in optimizeAtomic()
645 Value *const Result = buildNonAtomicBinOp(B, Op, BroadcastI, LaneOffset); in optimizeAtomic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAtomicOptimizer.cpp617 Value *LaneOffset = nullptr; in optimizeAtomic() local
619 LaneOffset = B.CreateIntrinsic(Intrinsic::amdgcn_wwm, Ty, ExclScan); in optimizeAtomic()
626 LaneOffset = B.CreateMul(V, Mbcnt); in optimizeAtomic()
634 LaneOffset = B.CreateSelect(Cond, Identity, V); in optimizeAtomic()
637 LaneOffset = B.CreateMul(V, B.CreateAnd(Mbcnt, 1)); in optimizeAtomic()
641 Value *const Result = buildNonAtomicBinOp(B, Op, BroadcastI, LaneOffset); in optimizeAtomic()
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86ShuffleDecode.cpp492 unsigned LaneOffset = i & ~(NumEltsPerLane - 1); in DecodeVPERMILPMask() local
493 ShuffleMask.push_back((int)(LaneOffset + M)); in DecodeVPERMILPMask()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp509 unsigned LaneOffset = i & ~(NumEltsPerLane - 1); in DecodeVPERMILPMask() local
510 ShuffleMask.push_back((int)(LaneOffset + M)); in DecodeVPERMILPMask()
/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp525 unsigned LaneOffset = i & ~(NumEltsPerLane - 1); in DecodeVPERMILPMask() local
526 ShuffleMask.push_back((int)(LaneOffset + M)); in DecodeVPERMILPMask()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp15738 int LaneOffset = i * NumEltsPerLane; in lowerShuffleAsLanePermuteAndPermute() local
15739 if (isSequentialOrUndefInRange(InLaneMask, LaneOffset, NumEltsPerLane, in lowerShuffleAsLanePermuteAndPermute()
15742 else if (CrossLaneMask[LaneOffset] != 0) in lowerShuffleAsLanePermuteAndPermute()