Searched refs:getSizeInBits (Results 1 - 25 of 64) sorted by relevance

123

/external/llvm/utils/TableGen/
H A DTGValueTypes.cpp37 virtual unsigned getSizeInBits() const = 0;
51 unsigned getSizeInBits() const { function in class:ExtendedIntegerType
68 unsigned getSizeInBits() const { function in class:ExtendedVectorType
69 return getNumElements() * getElementType().getSizeInBits();
102 return isExtendedVector() && getSizeInBits() == 64;
107 return isExtendedVector() && getSizeInBits() == 128;
122 return LLVMTy->getSizeInBits();
/external/llvm/include/llvm/CodeGen/
H A DValueTypes.h344 unsigned getSizeInBits() const { function in class:llvm::MVT
347 llvm_unreachable("getSizeInBits called on extended MVT.");
414 return (getSizeInBits() + 7) / 8;
425 return getSizeInBits() > VT.getSizeInBits();
430 return getSizeInBits() >= VT.getSizeInBits();
435 return getSizeInBits() < VT.getSizeInBits();
440 return getSizeInBits() <
754 unsigned getSizeInBits() const { function in struct:llvm::EVT
[all...]
/external/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp67 unsigned Offset = Imm * (VT.getVectorElementType().getSizeInBits() / 8);
69 unsigned NumLanes = VT.getSizeInBits() / 128;
88 unsigned NumLanes = VT.getSizeInBits() / 128;
139 unsigned NumLanes = VT.getSizeInBits() / 128;
163 unsigned NumLanes = VT.getSizeInBits() / 128;
183 unsigned NumLanes = VT.getSizeInBits() / 128;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp354 EltVT = EVT::getIntegerVT(*DAG.getContext(), 2 * EltVT.getSizeInBits());
442 unsigned SrcEltBits = SrcEltVT.getSizeInBits();
447 unsigned WideBits = WideVT.getSizeInBits();
492 unsigned Stride = SrcVT.getScalarType().getSizeInBits()/8;
541 unsigned ScalarSize = MemSclVT.getSizeInBits();
602 assert(MaskTy.getSizeInBits() == Op1.getValueType().getSizeInBits()
609 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), BitTy),
623 APInt::getAllOnesValue(BitTy.getSizeInBits()), MaskTy);
643 unsigned BW = VT.getScalarType().getSizeInBits();
[all...]
H A DLegalizeIntegerTypes.cpp247 NOutVT.getSizeInBits()),
269 unsigned DiffBits = NVT.getSizeInBits() - OVT.getSizeInBits();
318 DAG.getConstant(NVT.getSizeInBits() -
319 OVT.getSizeInBits(), NVT));
337 APInt TopBit(NVT.getSizeInBits(), 0);
338 TopBit.setBit(OVT.getSizeInBits());
680 DAG.getIntPtrConstant(SmallVT.getSizeInBits()));
741 DAG.getConstant(i * RegVT.getSizeInBits(),
912 DAG.getConstant(OVT.getSizeInBits(), TL
[all...]
H A DLegalizeTypes.cpp758 assert(Result.getValueType().getSizeInBits() >=
759 Op.getValueType().getVectorElementType().getSizeInBits() &&
869 unsigned BitWidth = Op.getValueType().getSizeInBits();
878 unsigned EltWidth = Op.getValueType().getVectorElementType().getSizeInBits();
997 unsigned EltSize = EltVT.getSizeInBits() / 8; // FIXME: should be ABI size.
1012 LVT.getSizeInBits() + HVT.getSizeInBits());
1017 DAG.getConstant(LVT.getSizeInBits(), TLI.getPointerTy()));
1092 assert(LoVT.getSizeInBits() + HiVT.getSizeInBits()
[all...]
H A DLegalizeVectorTypes.cpp656 EVT LoIntVT = EVT::getIntegerVT(*DAG.getContext(), LoVT.getSizeInBits());
657 EVT HiIntVT = EVT::getIntegerVT(*DAG.getContext(), HiVT.getSizeInBits());
784 unsigned IncrementSize = Lo.getValueType().getSizeInBits() / 8;
826 unsigned IncrementSize = LoMemVT.getSizeInBits()/8;
1258 unsigned IncrementSize = LoMemVT.getSizeInBits()/8;
1333 unsigned InElementSize = InVT.getVectorElementType().getSizeInBits();
1334 unsigned OutElementSize = OutVT.getVectorElementType().getSizeInBits();
1843 unsigned WidenSize = WidenVT.getSizeInBits();
1844 unsigned InSize = InVT.getSizeInBits();
1855 WidenSize / InEltVT.getSizeInBits());
[all...]
H A DTargetLowering.cpp358 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth &&
621 unsigned InnerBits = InnerVT.getSizeInBits();
625 if (!APInt(BitWidth, ShAmt).isIntN(ShTy.getSizeInBits()))
647 unsigned VTSize = VT.getSizeInBits();
711 InDemandedMask |= APInt::getSignBit(VT.getScalarType().getSizeInBits());
740 unsigned ShAmt = ExVT.getScalarType().getSizeInBits();
758 BitWidth - ExVT.getScalarType().getSizeInBits());
765 APInt::getSignBit(ExVT.getScalarType().getSizeInBits()).zext(BitWidth);
768 ExVT.getScalarType().getSizeInBits()) &
799 Op.getOperand(0).getValueType().getScalarType().getSizeInBits();
[all...]
H A DDAGCombiner.cpp138 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
1531 unsigned DestBits = VT.getScalarType().getSizeInBits();
1787 EltVT.getSizeInBits() >= SplatBitSize);
1947 DAG.getConstant(VT.getSizeInBits()-1,
1953 DAG.getConstant(VT.getSizeInBits() - lg2,
2102 DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()),
2148 DAG.getConstant(N0.getValueType().getSizeInBits() - 1,
2158 unsigned SimpleSize = Simple.getSizeInBits();
2194 unsigned SimpleSize = Simple.getSizeInBits();
2276 unsigned SimpleSize = Simple.getSizeInBits();
[all...]
H A DLegalizeDAG.cpp317 EVT intVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits());
334 StoredVT.getSizeInBits()));
335 unsigned StoredBytes = StoredVT.getSizeInBits() / 8;
336 unsigned RegBytes = RegVT.getSizeInBits() / 8;
397 int NumBits = NewStoredVT.getSizeInBits();
437 EVT intVT = EVT::getIntegerVT(*DAG.getContext(), LoadedVT.getSizeInBits());
458 unsigned LoadedBytes = LoadedVT.getSizeInBits() / 8;
459 unsigned RegBytes = RegVT.getSizeInBits() / 8;
521 unsigned NumBits = LoadedVT.getSizeInBits();
605 unsigned EltSize = EltVT.getSizeInBits()/
[all...]
H A DSelectionDAG.cpp122 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits();
798 assert(VT.getSizeInBits() == 2 * N->getOperand(0).getValueSizeInBits() &&
940 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
942 VT.getSizeInBits());
952 getConstant(APInt::getAllOnesValue(EltVT.getSizeInBits()), VT);
958 assert((EltVT.getSizeInBits() >= 64 ||
959 (uint64_t)((int64_t)Val >> EltVT.getSizeInBits()) + 1 < 2) &&
961 return getConstant(APInt(EltVT.getSizeInBits(), Val), VT, isT);
983 APInt NewVal = Elt->getValue().zext(EltVT.getSizeInBits());
987 assert(Elt->getBitWidth() == EltVT.getSizeInBits()
[all...]
H A DLegalizeTypesGeneric.cpp104 unsigned NewSizeInBits = ElemVT.getSizeInBits() / 2;
136 LHS.getValueType().getSizeInBits() << 1),
170 unsigned IncrementSize = NOutVT.getSizeInBits() / 8;
263 unsigned IncrementSize = NVT.getSizeInBits() / 8;
444 unsigned IncrementSize = NVT.getSizeInBits() / 8;
/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp376 O << ".param .b" << getPointerTy().getSizeInBits() << " _";
391 unsigned sz = elemtype.getSizeInBits();
447 sz = thePointerTy.getSizeInBits();
562 unsigned sz = elemtype.getSizeInBits();
566 if (elemtype.getSizeInBits() < 16) {
603 if (EltVT.getSizeInBits() < 16) {
653 if (EltVT.getSizeInBits() == 64)
724 unsigned sz = VT.getSizeInBits();
793 unsigned sz = elemtype.getSizeInBits();
802 if (elemtype.getSizeInBits() < 1
[all...]
/external/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp278 SrcLT.second.getSizeInBits() == DstLT.second.getSizeInBits()) {
317 SrcLT.second.getSizeInBits() == DstLT.second.getSizeInBits()) {
/external/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp120 assert(cast<MemSDNode>(Node)->getMemoryVT().getSizeInBits() / 8 <=
H A DMips16ISelDAGToDAG.cpp132 switch (SD->getMemoryVT().getSizeInBits()) {
143 switch (SD->getMemoryVT().getSizeInBits()) {
/external/llvm/include/llvm/IR/
H A DDataLayout.h418 uint64_t getSizeInBits() const { function in class:llvm::StructLayout
462 return getStructLayout(cast<StructType>(Ty))->getSizeInBits();
/external/llvm/lib/Target/Hexagon/
H A DHexagonVarargsCallingConvention.h39 (MVT(MVT::i64).getSizeInBits() / 8))) {
/external/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp118 unsigned UBytes = AVT.getSizeInBits() / 8;
225 unsigned UBytes = AVT.getSizeInBits() / 8;
H A DX86ISelLowering.cpp68 unsigned Factor = VT.getSizeInBits()/vectorWidth;
77 unsigned ElemsPerChunk = vectorWidth / ElVT.getSizeInBits();
81 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits()) / vectorWidth)
129 unsigned ElemsPerChunk = vectorWidth/ElVT.getSizeInBits();
133 unsigned NormalizedIdxVal = (((IdxVal * ElVT.getSizeInBits())/vectorWidth)
1399 unsigned EltSize = VT.getVectorElementType().getSizeInBits();
2122 int FI = MFI->CreateFixedObject(ValVT.getSizeInBits()/8,
2704 uint32_t OpSize = (VA.getLocVT().getSizeInBits()+7)/8;
2968 unsigned Bytes = Arg.getValueType().getSizeInBits() / 8;
3610 unsigned NumLanes = VT.getSizeInBits()/12
[all...]
/external/llvm/lib/IR/
H A DDebugInfo.cpp606 return getSizeInBits();
612 return getSizeInBits();
619 return getSizeInBits();
624 return BaseType.getSizeInBits();
1162 << ", size " << getSizeInBits()
H A DValueTypes.cpp24 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits());
113 return "i" + utostr(getSizeInBits());
/external/clang/lib/AST/
H A DRecordLayoutBuilder.cpp782 uint64_t getSizeInBits() const { return Size; } function in class:__anon15129::RecordLayoutBuilder
1657 llvm::RoundUpToAlignment(getSizeInBits(),
1670 llvm::RoundUpToAlignment(getSizeInBits(),
1799 setSize(std::max(getSizeInBits(), getDataSizeInBits()));
1936 setSize(std::max(getSizeInBits(), getDataSizeInBits()));
2055 setSize(std::max(getSizeInBits(), getDataSizeInBits()));
2063 if (Context.getLangOpts().CPlusPlus && getSizeInBits() == 0) {
2077 uint64_t UnpaddedSize = getSizeInBits() - UnfilledBitsInLastUnit;
2079 llvm::RoundUpToAlignment(getSizeInBits(),
2083 = llvm::RoundUpToAlignment(getSizeInBits(), Contex
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp179 uint32_t RegWidth = N.getValueType().getSizeInBits();
195 unsigned DestWidth = DestType.getSizeInBits();
311 MemType.getSizeInBits()),
H A DAArch64ISelLowering.cpp993 int FI = MFI->CreateFixedObject(VA.getLocVT().getSizeInBits()/8,
1013 unsigned DestSize = VA.getValVT().getSizeInBits();
1228 unsigned SrcSize = VA.getValVT().getSizeInBits();
1267 VA.getLocVT().getSizeInBits();
2843 if (LSB > VT.getSizeInBits() || Width > VT.getSizeInBits())
2913 Mask = -1ULL >> (64 - N.getValueType().getSizeInBits());
2991 if ((LHSMask | RHSMask) == (-1ULL >> (64 - VT.getSizeInBits())))
3061 if ((ExtraMask | ExistingMask) == (-1ULL >> (64 - VT.getSizeInBits())))
3120 if (ShiftLHS + ShiftRHS != VT.getSizeInBits())
[all...]

Completed in 1819 milliseconds

123