Lines Matching defs:makeConst
115 auto makeConst = [&](int32_t index) -> Value {
152 x1, makeConst(0));
154 x2, makeConst(1));
1047 auto makeConst = [&](uint64_t index) -> Value {
1051 return b.create<LLVM::ShlOp>(ti64, value, makeConst(shift));
1054 return b.create<LLVM::LShrOp>(ti64, value, makeConst(shift));
1065 Value strideDim = makeConst(strideDimVal);
1066 Value leadDim = makeConst(leadDimVal);
1077 Value dsc = makeConst(0);
1079 dsc = insertBit(dsc, makeConst(swizzle), startSwizzleBit);
1081 dsc = insertBit(dsc, makeConst(offsetVal), startOffsetBit);
1541 auto makeConst = [&](int32_t index) -> Value {
1544 Value c1 = makeConst(1);
1545 Value c2 = makeConst(2);
1546 Value c4 = makeConst(4);
1547 Value c8 = makeConst(8);
1548 Value c16 = makeConst(16);
1549 Value warpSize = makeConst(kWarpSize);
1579 ti = makeAdd(ti, makeConst(offset));
1592 Value idx = makeAdd(ti, makeMul(makeConst(i), c8));
1594 Value idy = makeAdd(tj, makeMul(makeConst(j), c8));