Home
last modified time | relevance | path

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

/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-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/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/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/lib/Target/ARM/InstPrinter/
DARMInstPrinter.cpp964 unsigned EltBits; in printNEONModImmOperand() local
965 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/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()