Lines Matching +full:0 +full:xc400

3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
66 return VersionMajor >= 11 ? 10 : 0; in getVmcntBitShiftLo()
76 return VersionMajor >= 11 ? 0 : 4; in getExpcntBitShift()
97 return (VersionMajor == 9 || VersionMajor == 10) ? 2 : 0; in getVmcntBitWidthHi()
102 return VersionMajor >= 12 ? 6 : 0; in getLoadcntBitWidth()
107 return VersionMajor >= 12 ? 6 : 0; in getSamplecntBitWidth()
112 return VersionMajor >= 12 ? 3 : 0; in getBvhcntBitWidth()
117 return VersionMajor >= 12 ? 6 : 0; in getDscntBitWidth()
121 unsigned getDscntBitShift(unsigned VersionMajor) { return 0; } in getDscntBitShift()
125 return VersionMajor >= 10 ? 6 : 0; in getStorecntBitWidth()
130 return VersionMajor >= 12 ? 5 : 0; in getKmcntBitWidth()
135 return VersionMajor >= 12 ? 8 : 0; in getLoadcntStorecntBitShift()
154 inline unsigned getSaSdstBitShift() { return 0; } in getSaSdstBitShift()
201 return 0; in getELFABIVersion()
298 unsigned AddrComponents = (BaseOpcode->Coordinates ? Dim->NumCoords : 0) + in getAddrSizeMIMGOp()
299 (BaseOpcode->LodOrClampOrMip ? 1 : 0); in getAddrSizeMIMGOp()
434 return Info ? Info->elements : 0; in getMTBUFElements()
464 return Info ? Info->elements : 0; in getMUBUFElements()
545 return Info ? Info->VOPDOp : ~0u; in getVOPDOpcode()
634 return Info ? Info->Opcode3Addr : ~0u; in mapWMMA2AddrTo3AddrOpcode()
639 return Info ? Info->Opcode2Addr : ~0u; in mapWMMA3AddrTo2AddrOpcode()
699 return 0; in getIndexInParsedOperands()
711 for (CompOprIdx = 0; CompOprIdx < CompOprNum; ++CompOprIdx) { in getInvalidCompOperandIndex()
724 // or is not a VGPR, the corresponding value is 0.
727 // for the specified component and MC operand. The callback must return 0
744 : 0; in getRegIndices()
909 unsigned BytesPerCU = 0; in getLocalMemorySize()
929 return 0; in getAddressableLocalMemorySize()
945 assert(FlatWorkGroupSize != 0); in getMaxWorkGroupsPerCU()
1028 assert(WavesPerEU != 0); in getMinNumSGPRs()
1032 return 0; in getMinNumSGPRs()
1035 return 0; in getMinNumSGPRs()
1046 assert(WavesPerEU != 0); in getMaxNumSGPRs()
1063 unsigned ExtraSGPRs = 0; in getNumExtraSGPRs()
1196 assert(WavesPerEU != 0); in getMinNumVGPRs()
1200 return 0; in getMinNumVGPRs()
1208 return 0; in getMinNumVGPRs()
1220 assert(WavesPerEU != 0); in getMaxNumVGPRs()
1261 // be 0xffffffff. in initDefaultAMDKernelCodeT()
1272 S_00B848_WGP_MODE(STI->getFeatureBits().test(FeatureCuMode) ? 0 : 1) | in initDefaultAMDKernelCodeT()
1306 if (Strs.first.trim().getAsInteger(0, Ints.first)) { in getIntegerPairAttribute()
1310 if (Strs.second.trim().getAsInteger(0, Ints.second)) { in getIntegerPairAttribute()
1323 SmallVector<unsigned> Default(Size, 0); in getIntegerVecAttribute()
1329 SmallVector<unsigned> Vals(Size, 0); in getIntegerVecAttribute()
1334 unsigned i = 0; in getIntegerVecAttribute()
1338 if (Strs.first.trim().getAsInteger(0, IntVal)) { in getIntegerVecAttribute()
1557 unsigned Enc = 0; in getDefaultCustomOperandEncoding()
1558 for (int Idx = 0; Idx < Size; ++Idx) { in getDefaultCustomOperandEncoding()
1570 unsigned UsedOprMask = 0; in isSymbolicCustomOperandEncoding()
1572 for (int Idx = 0; Idx < Size; ++Idx) { in isSymbolicCustomOperandEncoding()
1582 return (Code & ~UsedOprMask) == 0; in isSymbolicCustomOperandEncoding()
1604 if (InputVal < 0 || InputVal > Op.Max) in encodeCustomOperandVal()
1614 for (int Idx = 0; Idx < Size; ++Idx) { in encodeCustomOperand()
1679 return encodeFieldVmVsrc(0xffff, VmVsrc); in encodeFieldVmVsrc()
1687 return encodeFieldVaVdst(0xffff, VaVdst); in encodeFieldVaVdst()
1695 return encodeFieldSaSdst(0xffff, SaSdst); in encodeFieldSaSdst()
1725 Index = (Val.MaxIndex == 0) ? -1 : (Id - Val.Tgt); in getTgtName()
1736 if (Val.MaxIndex == 0 && Name == Val.Name) in getTgtId()
1739 if (Val.MaxIndex > 0 && Name.starts_with(Val.Name)) { in getTgtId()
1747 if (Suffix.size() > 1 && Suffix[0] == '0') in getTgtId()
1901 return (MsgId & ~(getMsgIdMask(STI))) == 0; in isValidMsgId()
1909 return 0 <= OpId && isUInt<OP_WIDTH_>(OpId); in isValidMsgOp()
1926 return 0 <= StreamId && isUInt<STREAM_ID_WIDTH_>(StreamId); in isValidMsgStream()
1958 OpId = 0; in decodeMsg()
1959 StreamId = 0; in decodeMsg()
1979 return F.getFnAttributeAsParsedInteger("InitialPSInputAddr", 0); in getInitialPSInputAddr()
1986 F.getCallingConv() == CallingConv::AMDGPU_PS ? 1 : 0) != 0; in getHasColorExport()
1990 return F.getFnAttributeAsParsedInteger("amdgpu-depth-export", 0) != 0; in getHasDepthExport()
2095 return 0; in getNSAMaxSize()
2236 return SGPRClass.contains(FirstSubReg != 0 ? FirstSubReg : Reg) || in isSGPR()
2565 (Val == 0x3fc45f306dc9c882 && HasInv2Pi); in isInlinableLiteral64()
2575 // -nan has the hexadecimal encoding of 0xfffffffe which is -2 in decimal, in isInlinableLiteral32()
2578 // 1065353216 has the hexadecimal encoding 0x3f800000 which is 1.0f in in isInlinableLiteral32()
2591 (Val == 0x3e22f983 && HasInv2Pi); in isInlinableLiteral32()
2600 return Val == 0x3F00 || // 0.5 in isInlinableLiteralBF16()
2601 Val == 0xBF00 || // -0.5 in isInlinableLiteralBF16()
2602 Val == 0x3F80 || // 1.0 in isInlinableLiteralBF16()
2603 Val == 0xBF80 || // -1.0 in isInlinableLiteralBF16()
2604 Val == 0x4000 || // 2.0 in isInlinableLiteralBF16()
2605 Val == 0xC000 || // -2.0 in isInlinableLiteralBF16()
2606 Val == 0x4080 || // 4.0 in isInlinableLiteralBF16()
2607 Val == 0xC080 || // -4.0 in isInlinableLiteralBF16()
2608 Val == 0x3E22; // 1.0 / (2.0 * pi) in isInlinableLiteralBF16()
2621 return Val == 0x3C00 || // 1.0 in isInlinableLiteralFP16()
2622 Val == 0xBC00 || // -1.0 in isInlinableLiteralFP16()
2623 Val == 0x3800 || // 0.5 in isInlinableLiteralFP16()
2624 Val == 0xB800 || // -0.5 in isInlinableLiteralFP16()
2625 Val == 0x4000 || // 2.0 in isInlinableLiteralFP16()
2626 Val == 0xC000 || // -2.0 in isInlinableLiteralFP16()
2627 Val == 0x4400 || // 4.0 in isInlinableLiteralFP16()
2628 Val == 0xC400 || // -4.0 in isInlinableLiteralFP16()
2629 Val == 0x3118; // 1/2pi in isInlinableLiteralFP16()
2641 // the LSBs, 0 in the MSBs in getInlineEncodingV216()
2644 if (Signed >= 0 && Signed <= 64) in getInlineEncodingV216()
2653 case 0x3800: return 240; // 0.5 in getInlineEncodingV216()
2654 case 0xB800: return 241; // -0.5 in getInlineEncodingV216()
2655 case 0x3C00: return 242; // 1.0 in getInlineEncodingV216()
2656 case 0xBC00: return 243; // -1.0 in getInlineEncodingV216()
2657 case 0x4000: return 244; // 2.0 in getInlineEncodingV216()
2658 case 0xC000: return 245; // -2.0 in getInlineEncodingV216()
2659 case 0x4400: return 246; // 4.0 in getInlineEncodingV216()
2660 case 0xC400: return 247; // -4.0 in getInlineEncodingV216()
2661 case 0x3118: return 248; // 1.0 / (2.0 * pi) in getInlineEncodingV216()
2668 case 0x3F000000: return 240; // 0.5 in getInlineEncodingV216()
2669 case 0xBF000000: return 241; // -0.5 in getInlineEncodingV216()
2670 case 0x3F800000: return 242; // 1.0 in getInlineEncodingV216()
2671 case 0xBF800000: return 243; // -1.0 in getInlineEncodingV216()
2672 case 0x40000000: return 244; // 2.0 in getInlineEncodingV216()
2673 case 0xC0000000: return 245; // -2.0 in getInlineEncodingV216()
2674 case 0x40800000: return 246; // 4.0 in getInlineEncodingV216()
2675 case 0xC0800000: return 247; // -4.0 in getInlineEncodingV216()
2676 case 0x3E22F983: return 248; // 1.0 / (2.0 * pi) in getInlineEncodingV216()
2695 if (Signed >= 0 && Signed <= 64) in getInlineEncodingV2BF16()
2703 case 0x3F00: return 240; // 0.5 in getInlineEncodingV2BF16()
2704 case 0xBF00: return 241; // -0.5 in getInlineEncodingV2BF16()
2705 case 0x3F80: return 242; // 1.0 in getInlineEncodingV2BF16()
2706 case 0xBF80: return 243; // -1.0 in getInlineEncodingV2BF16()
2707 case 0x4000: return 244; // 2.0 in getInlineEncodingV2BF16()
2708 case 0xC000: return 245; // -2.0 in getInlineEncodingV2BF16()
2709 case 0x4080: return 246; // 4.0 in getInlineEncodingV2BF16()
2710 case 0xC080: return 247; // -4.0 in getInlineEncodingV2BF16()
2711 case 0x3E22: return 248; // 1.0 / (2.0 * pi) in getInlineEncodingV2BF16()
2762 return !(Val & 0xffffffffu); in isValid32BitLiteral()
2847 return (ByteOffset & 3) == 0; in isDwordAligned()
2865 if (!IsBuffer && !HasSOffset && ByteOffset < 0 && hasSMRDSignedImmOffset(ST)) in getSMRDEncodedOffset()