Lines Matching refs:Identity
52 Value *const Identity) const;
54 Value *const Identity) const;
55 Value *buildShiftRight(IRBuilder<> &B, Value *V, Value *const Identity) const;
288 Value *const Identity) const { in buildReduction()
299 {Identity, V, B.getInt32(DPP::ROW_XMASK0 | 1 << Idx), in buildReduction()
332 Value *V, Value *const Identity) const { in buildScan()
342 {Identity, V, B.getInt32(DPP::ROW_SHR0 | 1 << Idx), in buildScan()
350 {Identity, V, B.getInt32(DPP::BCAST15), B.getInt32(0xa), in buildScan()
355 {Identity, V, B.getInt32(DPP::BCAST31), B.getInt32(0xc), in buildScan()
370 {Identity, PermX, B.getInt32(DPP::QUAD_PERM_ID), in buildScan()
379 {Identity, Lane31, B.getInt32(DPP::QUAD_PERM_ID), in buildScan()
389 Value *const Identity) const { in buildShiftRight()
398 {Identity, V, B.getInt32(DPP::WAVE_SHR1), B.getInt32(0xf), in buildShiftRight()
410 {Identity, V, B.getInt32(DPP::ROW_SHR0 + 1), in buildShiftRight()
524 Value *const Identity = B.getInt(getIdentityValueForAtomicOp(Op, TyBitWidth)); in optimizeAtomic() local
536 NewV = B.CreateIntrinsic(Intrinsic::amdgcn_set_inactive, Ty, {V, Identity}); in optimizeAtomic()
544 NewV = buildReduction(B, ScanOp, NewV, Identity); in optimizeAtomic()
546 NewV = buildScan(B, ScanOp, NewV, Identity); in optimizeAtomic()
548 ExclScan = buildShiftRight(B, NewV, Identity); in optimizeAtomic()
679 LaneOffset = B.CreateSelect(Cond, Identity, V); in optimizeAtomic()