Home
last modified time | relevance | path

Searched refs:Log2LMUL (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp36 Log2LMUL = NewLog2LMUL; in LMULType()
40 if (Log2LMUL < 0) in str()
41 return "mf" + utostr(1ULL << (-Log2LMUL)); in str()
42 return "m" + utostr(1ULL << Log2LMUL); in str()
51 Log2ScaleResult = Log2LMUL + 3; in getScale()
54 Log2ScaleResult = Log2LMUL + 2; in getScale()
57 Log2ScaleResult = Log2LMUL + 1; in getScale()
60 Log2ScaleResult = Log2LMUL; in getScale()
69 void LMULType::MulLog2LMUL(int log2LMUL) { Log2LMUL += log2LMUL; } in MulLog2LMUL()
71 RVVType::RVVType(BasicType BT, int Log2LMUL, in RVVType() argument
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp437 for (int Log2LMUL : Log2LMULs) { in createHeader() local
438 auto T = TypeCache.computeType(BasicType::Int8, Log2LMUL, in createHeader()
446 for (int Log2LMUL : Log2LMULs) { in createHeader() local
447 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
451 BT, Log2LMUL, in createHeader()
459 BT, Log2LMUL, in createHeader()
463 BT, Log2LMUL, in createHeader()
476 for (int Log2LMUL : Log2LMULs) { in createHeader() local
477 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
482 BT, Log2LMUL, in createHeader()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h237 int Log2LMUL; member
238 LMULType(int Log2LMUL);
242 void MulLog2LMUL(int Log2LMUL);
275 RVVType(BasicType BT, int Log2LMUL, const PrototypeDescriptor &Profile);
341 void applyFixedLog2LMUL(int Log2LMUL, enum FixedLMULType Type);
366 computeTypes(BasicType BT, int Log2LMUL, unsigned NF,
368 std::optional<RVVTypePtr> computeType(BasicType BT, int Log2LMUL,
467 getSuffixStr(RVVTypeCache &TypeCache, BasicType Type, int Log2LMUL,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Driscv_sifive_vector.td59 let Log2LMUL = [0] in
84 let Log2LMUL = [-3, -2, -1, 0, 1, 2] in {
100 Log2LMUL = [-2, -1, 0, 1, 2] in
108 Log2LMUL = [0, 1, 2, 3] in
116 Log2LMUL = [-1, 0, 1, 2] in
121 let Log2LMUL = [-3, -2, -1, 0, 1, 2],
H A Driscv_andes_vector.td24 Log2LMUL = [-2, -1, 0, 1, 2],
99 let Log2LMUL = [-2, -1, 0, 1, 2, 3],
167 Log2LMUL = [-1, 0, 1, 2, 3],
H A Driscv_vector.td405 Log2LMUL = [0], IRName = "",
482 Log2LMUL = [0],
789 let Log2LMUL = [-3, -2, -1, 0, 1, 2] in {
793 let Log2LMUL = [-3, -2, -1, 0, 1] in {
797 let Log2LMUL = [-3, -2, -1, 0] in {
875 let Log2LMUL = [-3, -2, -1, 0, 1, 2], UnMaskedPolicyScheme = HasPassthruOperand in {
896 Log2LMUL = [-3, -2, -1, 0, 1, 2] in {
1060 let Log2LMUL = [-2, -1, 0, 1, 2] in {
1076 let Log2LMUL = [-2, -1, 0, 1, 2] in {
1132 let Log2LMUL = [-2, -1, 0, 1, 2],
[all …]
H A Driscv_vector_common.td24 // use the Log2LMUL [0, 1, 2, 3, -1, -2, -3] to represent the LMUL.
98 // (SFixedLog2LMUL:Value): Smaller Fixed Log2LMUL. Given a vector type (SEW
102 // (SEFixedLog2LMUL:Value): Smaller or Equal Fixed Log2LMUL. Given a vector
107 // (LFixedLog2LMUL:Value): Larger Fixed Log2LMUL. Given a vector type (SEW
215 list<int> Log2LMUL = [0, 1, 2, 3, -1, -2, -3];
397 let Log2LMUL = [-3, -2, -1, 0, 1, 2] in {
485 let HasMaskedOffOperand = false, Log2LMUL = [-2, -1, 0, 1, 2] in {
694 let Log2LMUL = [-3, -2, -1, 0, 1, 2],
710 let Log2LMUL = [-3, -2, -1, 0, 1, 2],
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCV.cpp277 for (int Log2LMUL = -3; Log2LMUL <= 3; Log2LMUL++) { in ConstructRVVIntrinsics() local
278 if (!(Record.Log2LMULMask & (1 << (Log2LMUL + 3)))) in ConstructRVVIntrinsics()
282 TypeCache.computeTypes(BaseType, Log2LMUL, Record.NF, ProtoSeq); in ConstructRVVIntrinsics()
289 TypeCache, BaseType, Log2LMUL, SuffixProto); in ConstructRVVIntrinsics()
291 TypeCache, BaseType, Log2LMUL, OverloadedSuffixProto); in ConstructRVVIntrinsics()
306 BaseType, Log2LMUL, Record.NF, PolicyPrototype); in ConstructRVVIntrinsics()
316 TypeCache.computeTypes(BaseType, Log2LMUL, Record.NF, ProtoMaskSeq); in ConstructRVVIntrinsics()
329 BaseType, Log2LMUL, Record.NF, PolicyPrototype); in ConstructRVVIntrinsics()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp7917 int Log2LMUL = Log2_64(NumElts) - 3; in LowerOperation() local
7926 DAG.getConstant(std::max(Log2LMUL, 0), DL, XLenVT)); in LowerOperation()
8001 int Log2LMUL = Log2_64(NumElts) - 3; in LowerOperation() local
8011 DAG.getConstant(std::max(Log2LMUL, 0), DL, XLenVT)); in LowerOperation()