Home
last modified time | relevance | path

Searched refs:EltBits (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h383 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger() local
384 assert(EltBits && "Element size must be of a non-zero size"); in getInteger()
385 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger()
392 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType() local
393 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); in getExtendedElementVectorType()
400 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType() local
401 assert((EltBits & 1) == 0 && in getTruncatedElementVectorType()
403 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType()
/external/llvm/include/llvm/IR/
DDerivedTypes.h380 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger() local
381 assert(EltBits && "Element size must be of a non-zero size"); in getInteger()
382 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger()
389 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType() local
390 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); in getExtendedElementVectorType()
397 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType() local
398 assert((EltBits & 1) == 0 && in getTruncatedElementVectorType()
400 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType()
/external/swiftshader/third_party/LLVM/include/llvm/
DDerivedTypes.h376 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger() local
377 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger()
386 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType() local
387 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); in getExtendedElementVectorType()
396 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType() local
397 assert((EltBits & 1) == 0 && in getTruncatedElementVectorType()
399 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDerivedTypes.h407 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger() local
408 assert(EltBits && "Element size must be of a non-zero size"); in getInteger()
409 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger()
416 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType() local
417 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); in getExtendedElementVectorType()
424 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType() local
425 assert((EltBits & 1) == 0 && in getTruncatedElementVectorType()
427 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType()
/external/capstone/arch/ARM/
DARMAddressingModes.h599 static inline uint64_t ARM_AM_decodeNEONModImm(unsigned ModImm, unsigned *EltBits) in ARM_AM_decodeNEONModImm() argument
609 *EltBits = 8; in ARM_AM_decodeNEONModImm()
614 *EltBits = 16; in ARM_AM_decodeNEONModImm()
619 *EltBits = 32; in ARM_AM_decodeNEONModImm()
624 *EltBits = 32; in ARM_AM_decodeNEONModImm()
631 *EltBits = 64; in ARM_AM_decodeNEONModImm()
DARMInstPrinter.c2142 unsigned EltBits; in printNEONModImmOperand() local
2143 uint64_t Val = ARM_AM_decodeNEONModImm(EncodedImm, &EltBits); in printNEONModImmOperand()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h540 static inline uint64_t decodeNEONModImm(unsigned ModImm, unsigned &EltBits) { in decodeNEONModImm() argument
548 EltBits = 8; in decodeNEONModImm()
553 EltBits = 16; in decodeNEONModImm()
558 EltBits = 32; in decodeNEONModImm()
563 EltBits = 32; in decodeNEONModImm()
570 EltBits = 64; in decodeNEONModImm()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h564 static inline uint64_t decodeNEONModImm(unsigned ModImm, unsigned &EltBits) { in decodeNEONModImm() argument
572 EltBits = 8; in decodeNEONModImm()
577 EltBits = 16; in decodeNEONModImm()
582 EltBits = 32; in decodeNEONModImm()
587 EltBits = 32; in decodeNEONModImm()
594 EltBits = 64; in decodeNEONModImm()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h541 inline uint64_t decodeNEONModImm(unsigned ModImm, unsigned &EltBits) { in decodeNEONModImm() argument
549 EltBits = 8; in decodeNEONModImm()
554 EltBits = 16; in decodeNEONModImm()
559 EltBits = 32; in decodeNEONModImm()
564 EltBits = 32; in decodeNEONModImm()
571 EltBits = 64; in decodeNEONModImm()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp108 APInt EltBits = MaskBits.extractBits(MaskEltSizeInBits, BitOffset); in extractConstantMask() local
109 RawMask[i] = EltBits.getZExtValue(); in extractConstantMask()
DX86ISelLowering.cpp5508 SmallVectorImpl<APInt> &EltBits, in getTargetConstantBitsFromNode() argument
5511 assert(EltBits.empty() && "Expected an empty EltBits vector"); in getTargetConstantBitsFromNode()
5535 EltBits.assign(SrcEltBits.begin(), SrcEltBits.end()); in getTargetConstantBitsFromNode()
5552 EltBits.resize(NumElts, APInt(EltSizeInBits, 0)); in getTargetConstantBitsFromNode()
5572 EltBits[i] = Bits.getZExtValue(); in getTargetConstantBitsFromNode()
5695 SmallVector<APInt, 64> EltBits; in getTargetShuffleMaskIndices() local
5700 EltBits, /* AllowWholeUndefs */ false, in getTargetShuffleMaskIndices()
5705 for (APInt Elt : EltBits) in getTargetShuffleMaskIndices()
6183 SmallVector<APInt, 32> EltBits; in getFauxShuffleMask() local
6188 if (!getTargetConstantBitsFromNode(IsAndN ? N0 : N1, 8, UndefElts, EltBits)) in getFauxShuffleMask()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/InstPrinter/
DARMInstPrinter.cpp964 unsigned EltBits; in printNEONModImmOperand() local
965 uint64_t Val = ARM_AM::decodeNEONModImm(EncodedImm, EltBits); in printNEONModImmOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/InstPrinter/
DARMInstPrinter.cpp1265 unsigned EltBits; in printNEONModImmOperand() local
1266 uint64_t Val = ARM_AM::decodeNEONModImm(EncodedImm, EltBits); in printNEONModImmOperand()
/external/llvm/lib/Target/ARM/InstPrinter/
DARMInstPrinter.cpp1381 unsigned EltBits; in printNEONModImmOperand() local
1382 uint64_t Val = ARM_AM::decodeNEONModImm(EncodedImm, EltBits); in printNEONModImmOperand()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2269 int EltBits = EltVT.getSizeInBits(); in shouldExpandBuildVectorWithShuffles() local
2270 if ((EltBits != 8) && (EltBits != 16)) in shouldExpandBuildVectorWithShuffles()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp8062 int EltBits = VT.getScalarSizeInBits(); in lowerVectorShuffleAsSpecificZeroOrAnyExtend() local
8064 int NumEltsPerLane = 128 / EltBits; in lowerVectorShuffleAsSpecificZeroOrAnyExtend()
8066 assert((EltBits == 8 || EltBits == 16 || EltBits == 32) && in lowerVectorShuffleAsSpecificZeroOrAnyExtend()
8068 assert(Scale * EltBits <= 64 && "Cannot zero extend past 64 bits."); in lowerVectorShuffleAsSpecificZeroOrAnyExtend()
8098 MVT ExtVT = MVT::getVectorVT(MVT::getIntegerVT(EltBits * Scale), in lowerVectorShuffleAsSpecificZeroOrAnyExtend()
8114 if (AnyExt && EltBits == 32) { in lowerVectorShuffleAsSpecificZeroOrAnyExtend()
8122 if (AnyExt && EltBits == 16 && Scale > 2) { in lowerVectorShuffleAsSpecificZeroOrAnyExtend()
8138 if ((Scale * EltBits) == 64 && EltBits < 32 && Subtarget.hasSSE4A()) { in lowerVectorShuffleAsSpecificZeroOrAnyExtend()
8142 int LoIdx = Offset * EltBits; in lowerVectorShuffleAsSpecificZeroOrAnyExtend()
8145 DAG.getConstant(EltBits, DL, MVT::i8), in lowerVectorShuffleAsSpecificZeroOrAnyExtend()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMInstrNEON.td154 unsigned EltBits = 0;
155 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
156 return (EltBits == 32 && EltVal == 0);
161 unsigned EltBits = 0;
162 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
163 return (EltBits == 8 && EltVal == 0xff);
DARMISelLowering.cpp7381 unsigned EltBits; in PerformVDUPLANECombine() local
7382 if (ARM_AM::decodeNEONModImm(Imm, EltBits) == 0) in PerformVDUPLANECombine()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp3573 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in EmitCommonNeonBuiltinExpr() local
3575 llvm::IntegerType::get(getLLVMContext(), EltBits / 2); in EmitCommonNeonBuiltinExpr()
3584 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in EmitCommonNeonBuiltinExpr() local
3585 llvm::Type *EltTy = llvm::IntegerType::get(getLLVMContext(), EltBits / 2); in EmitCommonNeonBuiltinExpr()
/external/llvm/lib/Target/ARM/
DARMInstrNEON.td592 unsigned EltBits = 0;
593 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
594 return (EltBits == 32 && EltVal == 0);
599 unsigned EltBits = 0;
600 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
601 return (EltBits == 8 && EltVal == 0xff);
DARMISelLowering.cpp10211 unsigned EltBits; in PerformVDUPLANECombine() local
10212 if (ARM_AM::decodeNEONModImm(Imm, EltBits) == 0) in PerformVDUPLANECombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMInstrNEON.td590 unsigned EltBits = 0;
591 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
592 return (EltBits == 32 && EltVal == 0);
597 unsigned EltBits = 0;
598 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
599 return (EltBits == 8 && EltVal == 0xff);
DARMISelLowering.cpp11844 unsigned EltBits; in PerformVDUPLANECombine() local
11845 if (ARM_AM::decodeNEONModImm(Imm, EltBits) == 0) in PerformVDUPLANECombine()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp13437 unsigned EltBits = MaskVT.getVectorElementType().getSizeInBits(); in PerformOrCombine() local
13438 if ((SraAmt + 1) != EltBits) in PerformOrCombine()
13452 switch (EltBits) { in PerformOrCombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp18130 unsigned EltBits = VT.getScalarSizeInBits(); in BuildLogBase2() local
18132 SDValue Base = DAG.getConstant(EltBits - 1, DL, VT); in BuildLogBase2()

12