|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Type.h 293 TypeSize getPrimitiveSizeInBits() const LLVM_READONLY;
References
include/llvm/CodeGen/BasicTTIImpl.h 882 Src->getPrimitiveSizeInBits() < LT.second.getSizeInBits()) {
include/llvm/IR/DerivedTypes.h 469 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
500 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
557 return getNumElements() * getElementType()->getPrimitiveSizeInBits();
lib/Analysis/BasicAliasAnalysis.cpp 378 unsigned NewWidth = V->getType()->getPrimitiveSizeInBits();
379 unsigned SmallWidth = CastOp->getType()->getPrimitiveSizeInBits();
lib/Analysis/ConstantFolding.cpp 115 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits();
172 unsigned FPWidth = DstEltTy->getPrimitiveSizeInBits();
185 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits();
207 unsigned SrcBitSize = SrcEltTy->getPrimitiveSizeInBits();
656 unsigned NumBits = Ty->getPrimitiveSizeInBits();
lib/Analysis/InstructionSimplify.cpp 3253 Q.DL.getTypeSizeInBits(SrcTy) == DstTy->getPrimitiveSizeInBits()) {
lib/Analysis/LoopUnrollAnalyzer.cpp 119 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U;
lib/Analysis/MemoryDependenceAnalysis.cpp 289 unsigned NewLoadByteSize = LI->getType()->getPrimitiveSizeInBits() / 8U;
lib/Analysis/ScalarEvolutionExpander.cpp 1962 return RHS->getType()->getPrimitiveSizeInBits() <
1963 LHS->getType()->getPrimitiveSizeInBits();
lib/Analysis/ValueTracking.cpp 2732 if (Op1C->getType()->getPrimitiveSizeInBits() <
2733 MulC->getType()->getPrimitiveSizeInBits())
2735 if (Op1C->getType()->getPrimitiveSizeInBits() >
2736 MulC->getType()->getPrimitiveSizeInBits())
2756 if (Op0C->getType()->getPrimitiveSizeInBits() <
2757 MulC->getType()->getPrimitiveSizeInBits())
2759 if (Op0C->getType()->getPrimitiveSizeInBits() >
2760 MulC->getType()->getPrimitiveSizeInBits())
lib/AsmParser/LLParser.cpp 5164 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits());
7150 unsigned Size = Val->getType()->getPrimitiveSizeInBits();
lib/CodeGen/Analysis.cpp 313 I->getType()->getPrimitiveSizeInBits().getFixedSize());
lib/CodeGen/AtomicExpandPass.cpp 506 IntegerType *IntTy = Builder.getIntNTy(OrigTy->getPrimitiveSizeInBits());
1379 InitLoaded->setAlignment(MaybeAlign(ResultTy->getPrimitiveSizeInBits() / 8));
lib/CodeGen/CodeGenPrepare.cpp 1731 unsigned SizeInBits = Ty->getPrimitiveSizeInBits();
lib/CodeGen/IntrinsicLowering.cpp 168 unsigned BitSize = V->getType()->getPrimitiveSizeInBits();
200 unsigned BitSize = V->getType()->getPrimitiveSizeInBits();
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp 153 AlignVal = MinAlign(AlignVal, EltTy->getPrimitiveSizeInBits() / 8);
289 AlignVal = MinAlign(AlignVal, EltTy->getPrimitiveSizeInBits() / 8);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 2925 if ((NumElts * BitWidth) == CstTy->getPrimitiveSizeInBits()) {
2960 } else if (BitWidth == CstTy->getPrimitiveSizeInBits()) {
3906 (NumElts * VTBits) == CstTy->getPrimitiveSizeInBits()) {
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 1613 return APIntToHexString(APInt::getNullValue(Ty->getPrimitiveSizeInBits()));
lib/ExecutionEngine/ExecutionEngine.cpp 607 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0);
618 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
636 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
996 APInt(CV->getOperand(i)->getType()->getPrimitiveSizeInBits(), 0);
1003 CDV->getElementType()->getPrimitiveSizeInBits(),
lib/ExecutionEngine/Interpreter/Execution.cpp 1569 SrcBitSize = SrcTy->getPrimitiveSizeInBits();
1580 DstBitSize = DstTy->getPrimitiveSizeInBits();
lib/IR/AutoUpgrade.cpp 466 unsigned IdxSize = Idx->getPrimitiveSizeInBits();
1034 unsigned VecWidth = Ty->getPrimitiveSizeInBits();
1397 unsigned VecWidth = CI.getType()->getPrimitiveSizeInBits();
1786 unsigned NumElts = CI->getType()->getPrimitiveSizeInBits() /
1787 ExtTy->getPrimitiveSizeInBits();
1930 unsigned VecWidth = OpTy->getPrimitiveSizeInBits();
1944 unsigned VecWidth = OpTy->getPrimitiveSizeInBits();
1967 unsigned VecWidth = OpTy->getPrimitiveSizeInBits();
2283 unsigned NumSrcElts = 128 / EltTy->getPrimitiveSizeInBits();
2298 unsigned NumLanes = VT->getPrimitiveSizeInBits() / 128;
3269 unsigned VecWidth = CI->getType()->getPrimitiveSizeInBits();
3298 unsigned VecWidth = CI->getType()->getPrimitiveSizeInBits();
3334 unsigned VecWidth = CI->getType()->getPrimitiveSizeInBits();
3364 unsigned VecWidth = CI->getType()->getPrimitiveSizeInBits();
lib/IR/ConstantFold.cpp 686 APInt::getNullValue(DestTy->getPrimitiveSizeInBits()));
1137 CE1->getOperand(0)->getType()->getPrimitiveSizeInBits();
lib/IR/Constants.cpp 349 APFloat FL = APFloat::getAllOnesValue(Ty->getPrimitiveSizeInBits(),
2464 return getElementType()->getPrimitiveSizeInBits()/8;
lib/IR/Instructions.cpp 2983 TypeSize SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr
2984 TypeSize DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr
3045 TypeSize SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr
3046 TypeSize DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr
3106 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr
3107 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr
3260 return SrcTy->getPrimitiveSizeInBits() == DstTy->getPrimitiveSizeInBits();
3260 return SrcTy->getPrimitiveSizeInBits() == DstTy->getPrimitiveSizeInBits();
lib/IR/Type.cpp 135 return getScalarType()->getPrimitiveSizeInBits();
lib/Target/AArch64/AArch64ISelLowering.cpp 8497 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits();
8498 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits();
8541 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits();
8542 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits();
9238 unsigned BitSize = Ty->getPrimitiveSizeInBits();
12126 unsigned Size = SI->getValueOperand()->getType()->getPrimitiveSizeInBits();
12135 unsigned Size = LI->getType()->getPrimitiveSizeInBits();
12145 unsigned Size = AI->getType()->getPrimitiveSizeInBits();
12178 if (ValTy->getPrimitiveSizeInBits() == 128) {
12223 if (Val->getType()->getPrimitiveSizeInBits() == 128) {
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 62 unsigned BitSize = Ty->getPrimitiveSizeInBits();
87 unsigned BitSize = Ty->getPrimitiveSizeInBits();
153 unsigned BitSize = Ty->getPrimitiveSizeInBits();
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 969 unsigned NumRegs = (Arg.getType()->getPrimitiveSizeInBits() + 31) / 32;
lib/Target/ARM/ARMCodeGenPrepare.cpp 745 assert(OrigTy->getPrimitiveSizeInBits() < ExtTy->getPrimitiveSizeInBits() &&
745 assert(OrigTy->getPrimitiveSizeInBits() < ExtTy->getPrimitiveSizeInBits() &&
894 TypeSize = OrigTy->getPrimitiveSizeInBits();
lib/Target/ARM/ARMISelLowering.cpp14678 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits();
14679 unsigned DestBits = DstTy->getPrimitiveSizeInBits();
14843 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop");
16387 unsigned Bits = Ty->getPrimitiveSizeInBits();
16479 unsigned Size = SI->getValueOperand()->getType()->getPrimitiveSizeInBits();
16492 unsigned Size = LI->getType()->getPrimitiveSizeInBits();
16504 unsigned Size = AI->getType()->getPrimitiveSizeInBits();
16615 if (ValTy->getPrimitiveSizeInBits() == 64) {
16659 if (Val->getType()->getPrimitiveSizeInBits() == 64) {
lib/Target/ARM/ARMTargetTransformInfo.cpp 68 unsigned Bits = Ty->getPrimitiveSizeInBits();
504 unsigned VecWidth = DataTy->getPrimitiveSizeInBits();
lib/Target/Hexagon/HexagonGenExtract.cpp 159 unsigned BW = Ty->getPrimitiveSizeInBits();
lib/Target/Hexagon/HexagonISelLowering.cpp 2626 return Ty1->getPrimitiveSizeInBits() <= 32;
3245 unsigned SZ = Ty->getPrimitiveSizeInBits();
3267 unsigned SZ = Ty->getPrimitiveSizeInBits();
3288 return LI->getType()->getPrimitiveSizeInBits() > 64
3295 return SI->getValueOperand()->getType()->getPrimitiveSizeInBits() > 64;
lib/Target/MSP430/MSP430ISelLowering.cpp 1381 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits());
1381 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits());
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 352 size = Ty->getPrimitiveSizeInBits();
1543 sz = Ty->getPrimitiveSizeInBits();
lib/Target/NVPTX/NVPTXISelLowering.cpp 1283 size = retTy->getPrimitiveSizeInBits();
1351 sz = Ty->getPrimitiveSizeInBits();
lib/Target/NVPTX/NVPTXISelLowering.h 467 return SrcTy->getPrimitiveSizeInBits() == 64 &&
468 DstTy->getPrimitiveSizeInBits() == 32;
lib/Target/PowerPC/PPCISelLowering.cpp14853 unsigned BitSize = Ty->getPrimitiveSizeInBits();
14860 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits();
14861 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits();
lib/Target/PowerPC/PPCTargetTransformInfo.cpp 64 unsigned BitSize = Ty->getPrimitiveSizeInBits();
94 unsigned BitSize = Ty->getPrimitiveSizeInBits();
128 unsigned BitSize = Ty->getPrimitiveSizeInBits();
859 unsigned MemBytes = Src->getPrimitiveSizeInBits();
lib/Target/RISCV/RISCVISelLowering.cpp 292 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits();
293 unsigned DestBits = DstTy->getPrimitiveSizeInBits();
2747 unsigned Size = AI->getType()->getPrimitiveSizeInBits();
2850 unsigned Size = CI->getCompareOperand()->getType()->getPrimitiveSizeInBits();
lib/Target/Sparc/SparcISelLowering.cpp 1356 AI->getType()->getPrimitiveSizeInBits() == 32)
lib/Target/SystemZ/SystemZISelLowering.cpp 934 unsigned FromBits = FromType->getPrimitiveSizeInBits();
935 unsigned ToBits = ToType->getPrimitiveSizeInBits();
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp 36 unsigned BitSize = Ty->getPrimitiveSizeInBits();
69 unsigned BitSize = Ty->getPrimitiveSizeInBits();
187 unsigned BitSize = Ty->getPrimitiveSizeInBits();
566 assert (SrcTy->getPrimitiveSizeInBits() > DstTy->getPrimitiveSizeInBits() &&
566 assert (SrcTy->getPrimitiveSizeInBits() > DstTy->getPrimitiveSizeInBits() &&
lib/Target/X86/X86ISelLowering.cpp 4899 unsigned BitSize = Ty->getPrimitiveSizeInBits();
6104 unsigned CstSizeInBits = CstTy->getPrimitiveSizeInBits();
26437 unsigned OpWidth = MemType->getPrimitiveSizeInBits();
26454 if (MemType->getPrimitiveSizeInBits() == 64 && !Subtarget.is64Bit() &&
26472 if (MemType->getPrimitiveSizeInBits() == 64 && !Subtarget.is64Bit() &&
26488 if (MemType->getPrimitiveSizeInBits() > NativeWidth) {
26529 if (MemType->getPrimitiveSizeInBits() > NativeWidth)
26582 AI->getType()->getPrimitiveSizeInBits());
28962 if (Subtarget.hasXOP() && Ty->getPrimitiveSizeInBits() == 128 &&
29015 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits();
29016 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits();
29027 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop");
45471 if ((type->getPrimitiveSizeInBits() == 128) && Subtarget.hasSSE1())
45476 if ((type->getPrimitiveSizeInBits() == 64) && Subtarget.hasAVX512())
45496 if ((type->getPrimitiveSizeInBits() == 512) && Subtarget.hasAVX512())
45500 if (((type->getPrimitiveSizeInBits() == 128) && Subtarget.hasSSE1()) ||
45501 ((type->getPrimitiveSizeInBits() == 256) && Subtarget.hasAVX()))
45506 if ((type->getPrimitiveSizeInBits() == 64) && Subtarget.hasAVX512())
lib/Target/X86/X86ShuffleDecodeConstantPool.cpp 45 unsigned CstSizeInBits = CstTy->getPrimitiveSizeInBits();
117 C->getType()->getPrimitiveSizeInBits() >= Width &&
155 C->getType()->getPrimitiveSizeInBits() >= Width &&
191 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits();
246 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits();
298 C->getType()->getPrimitiveSizeInBits() >= Width &&
324 C->getType()->getPrimitiveSizeInBits() >= Width &&
lib/Target/X86/X86TargetTransformInfo.cpp 927 Tp->getVectorElementType()->getPrimitiveSizeInBits()) {
940 if (SubTp->getPrimitiveSizeInBits() >= 32 || ST->hasSSSE3())
943 assert(SubTp->getPrimitiveSizeInBits() == 16 &&
958 Tp->getVectorElementType()->getPrimitiveSizeInBits() &&
2929 unsigned BitSize = Ty->getPrimitiveSizeInBits();
2964 unsigned BitSize = Ty->getPrimitiveSizeInBits();
3061 unsigned BitSize = Ty->getPrimitiveSizeInBits();
3135 if ((IndxTy->getPrimitiveSizeInBits() == 64 &&
lib/Transforms/InstCombine/InstCombineCalls.cpp 369 unsigned BitWidth = VT->getElementType()->getPrimitiveSizeInBits();
388 unsigned BitWidth = SVT->getPrimitiveSizeInBits();
555 unsigned NumLanes = ResTy->getPrimitiveSizeInBits() / 128;
1895 unsigned C = X->getType()->getPrimitiveSizeInBits() -
1896 IIOperand->getType()->getPrimitiveSizeInBits();
2795 assert(Arg1->getType()->getPrimitiveSizeInBits() == 128 &&
2908 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 &&
2909 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth0 == 2 &&
2946 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 &&
2970 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 &&
2971 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 &&
3007 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 &&
3008 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth0 == 2 &&
3069 assert(Mask->getType()->getPrimitiveSizeInBits() ==
3070 II->getType()->getPrimitiveSizeInBits() &&
lib/Transforms/InstCombine/InstCombineCasts.cpp 471 unsigned VecWidth = VecType->getPrimitiveSizeInBits();
472 unsigned DestWidth = DestType->getPrimitiveSizeInBits();
765 unsigned ASize = A->getType()->getPrimitiveSizeInBits();
789 const unsigned SExtSize = SExt->getType()->getPrimitiveSizeInBits();
790 const unsigned ASize = A->getType()->getPrimitiveSizeInBits();
791 const unsigned CISize = CI.getType()->getPrimitiveSizeInBits();
1839 if (SrcTy->getElementType()->getPrimitiveSizeInBits() !=
1840 DestTy->getElementType()->getPrimitiveSizeInBits())
1880 return Value % Ty->getPrimitiveSizeInBits() == 0;
1884 return Value / Ty->getPrimitiveSizeInBits();
1929 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(),
1941 C->getType()->getPrimitiveSizeInBits()));
1942 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits();
1968 I->getOperand(0)->getType()->getPrimitiveSizeInBits(),
lib/Transforms/InstCombine/InstCombineCompares.cpp 316 if (Idx->getType()->getPrimitiveSizeInBits() > PtrSize)
489 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) {
944 if (LHSIndexTy->getPrimitiveSizeInBits() <
945 RHSIndexTy->getPrimitiveSizeInBits()) {
983 if (LHSType->getPrimitiveSizeInBits() !=
984 RHSType->getPrimitiveSizeInBits() ||
1307 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth)
4247 unsigned ASize = cast<IntegerType>(A->getType())->getPrimitiveSizeInBits();
4251 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits());
4549 unsigned WidthA = TyA->getPrimitiveSizeInBits(),
4550 WidthB = TyB->getPrimitiveSizeInBits();
4570 unsigned TruncWidth = TI->getType()->getPrimitiveSizeInBits();
4604 if (Trunc->getType()->getPrimitiveSizeInBits() == MulWidth)
4699 if (TI->getType()->getPrimitiveSizeInBits() == MulWidth)
lib/Transforms/InstCombine/InstCombinePHI.cpp 902 return Inst->getType()->getPrimitiveSizeInBits() <
903 RHS.Inst->getType()->getPrimitiveSizeInBits();
913 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {}
1261 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits()))
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 1627 unsigned NumLanes = Ty0->getPrimitiveSizeInBits() / 128;
lib/Transforms/InstCombine/InstCombineVectorOps.cpp 224 unsigned DestWidth = DestTy->getPrimitiveSizeInBits();
lib/Transforms/InstCombine/InstructionCombining.cpp 193 unsigned FromWidth = From->getPrimitiveSizeInBits();
194 unsigned ToWidth = To->getPrimitiveSizeInBits();
1298 unsigned SmallSize = Cast->getSrcTy()->getPrimitiveSizeInBits();
1329 unsigned LargeSize = Cast->getSrcTy()->getPrimitiveSizeInBits();
1332 if (logScale + 1 == (int32_t)Cast->getType()->getPrimitiveSizeInBits())
2062 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits();
2103 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits();
lib/Transforms/Instrumentation/MemorySanitizer.cpp 2079 Ty->getPrimitiveSizeInBits();
2685 assert(S->getType()->getPrimitiveSizeInBits() <= 64);
3773 if (T->isIntegerTy() && T->getPrimitiveSizeInBits() <= 64)
4151 if ((T->isIntegerTy() && T->getPrimitiveSizeInBits() <= 64)
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 657 : Ty->getPrimitiveSizeInBits() / 8));
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 281 unsigned OffSCEVBits = OffSCEV->getType()->getPrimitiveSizeInBits();
lib/Transforms/Scalar/Float2Int.cpp 206 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits();
449 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*isUnsigned=*/false);
lib/Transforms/Scalar/JumpThreading.cpp 687 if (I->getType()->getPrimitiveSizeInBits() == 1) {
lib/Transforms/Scalar/Reassociate.cpp 456 unsigned Bitwidth = I->getType()->getScalarType()->getPrimitiveSizeInBits();
lib/Transforms/Utils/LibCallsShrinkWrap.cpp 454 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits();
lib/Transforms/Utils/Local.cpp 1845 uint64_t FromBits = FromTy->getPrimitiveSizeInBits();
1846 uint64_t ToBits = ToTy->getPrimitiveSizeInBits();
2753 APInt Bit(I->getType()->getPrimitiveSizeInBits(), 1);
lib/Transforms/Utils/LowerMemIntrinsics.cpp 22 return Type->getPrimitiveSizeInBits() / 8;
lib/Transforms/Utils/SimplifyCFG.cpp 5406 unsigned CaseSize = MinCaseVal->getType()->getPrimitiveSizeInBits();
lib/Transforms/Utils/SimplifyLibCalls.cpp 135 if (!isIntN(CI->getType()->getPrimitiveSizeInBits(), Result))
1416 unsigned BitWidth = Op->getType()->getPrimitiveSizeInBits();
lib/Transforms/Vectorize/LoopVectorize.cpp 2574 if (BackedgeTakenCount->getType()->getPrimitiveSizeInBits() >
2575 IdxTy->getPrimitiveSizeInBits())
lib/Transforms/Vectorize/VPlanSLP.cpp 93 unsigned Width = OriginalInstr->getType()->getPrimitiveSizeInBits();
97 I->getType()->getPrimitiveSizeInBits() == Width;
tools/clang/lib/CodeGen/CGBuiltin.cpp 420 int Width = Ty->getPrimitiveSizeInBits();
5149 Ty, VectorSize ? VectorSize / Ty->getPrimitiveSizeInBits() : 1);
5156 int Elts = VectorSize ? VectorSize / ArgType->getPrimitiveSizeInBits() : 1;
5213 if (Ops[j]->getType()->getPrimitiveSizeInBits() ==
5214 ArgTy->getPrimitiveSizeInBits())
5228 if (ResultType->getPrimitiveSizeInBits() <
5229 Result->getType()->getPrimitiveSizeInBits())
5570 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
5581 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
5766 llvm::VectorType::get(Int8Ty, Ty->getPrimitiveSizeInBits() / 8);
5774 llvm::VectorType::get(HalfTy, Ty->getPrimitiveSizeInBits() / 16);
5781 llvm::VectorType::get(HalfTy, Ty->getPrimitiveSizeInBits() / 16);
5788 llvm::VectorType::get(HalfTy, Ty->getPrimitiveSizeInBits() / 16);
5795 llvm::VectorType::get(HalfTy, Ty->getPrimitiveSizeInBits() / 16);
7526 bool Is64 = Ops[0]->getType()->getPrimitiveSizeInBits() == 64;
7541 bool Is64 = Ops[0]->getType()->getPrimitiveSizeInBits() == 64;
7560 if (Ops[0]->getType()->getPrimitiveSizeInBits() == 64)
7562 else if (Ops[0]->getType()->getPrimitiveSizeInBits() == 32)
9904 Intrinsic::ID IID = Ops[0]->getType()->getPrimitiveSizeInBits() == 32 ?
9934 Ty->getPrimitiveSizeInBits() / 64);
9962 unsigned VecWidth = Ty->getPrimitiveSizeInBits();
11039 unsigned NumLanes = Ty->getPrimitiveSizeInBits() / 128;
11066 unsigned NumLanes = Ty->getPrimitiveSizeInBits() / 128;
11172 unsigned NumLanes = Ty->getPrimitiveSizeInBits() == 512 ? 4 : 2;
tools/clang/lib/CodeGen/CGCall.cpp 4298 VT->getPrimitiveSizeInBits().getFixedSize());
4382 VT->getPrimitiveSizeInBits().getFixedSize());
tools/clang/lib/CodeGen/CGExpr.cpp 2843 unsigned Bits = V->getType()->getPrimitiveSizeInBits();
tools/clang/lib/CodeGen/CGExprScalar.cpp 1296 unsigned SrcSize = SrcTy->getPrimitiveSizeInBits();
1297 unsigned DstSize = DstTy->getPrimitiveSizeInBits();
tools/clang/lib/CodeGen/CGStmt.cpp 2088 VT->getPrimitiveSizeInBits().getFixedSize());
2113 VT->getPrimitiveSizeInBits().getFixedSize());
2200 VT->getPrimitiveSizeInBits().getFixedSize());
tools/clang/lib/CodeGen/CodeGenFunction.cpp 435 VT->getPrimitiveSizeInBits().getFixedSize());
440 VT->getPrimitiveSizeInBits().getFixedSize());
tools/clang/lib/CodeGen/CodeGenModule.cpp 4864 if (ElemTy->getPrimitiveSizeInBits() == 16) {
4874 assert(ElemTy->getPrimitiveSizeInBits() == 32);
tools/clang/lib/CodeGen/TargetInfo.cpp 926 return IRType->isVectorTy() && IRType->getPrimitiveSizeInBits() == 64 &&
tools/clang/unittests/CodeGen/CodeGenExternalTest.cpp 244 ASSERT_GE(xTy->getPrimitiveSizeInBits(), 1u);
245 ASSERT_GE(yTy->getPrimitiveSizeInBits(), 16u); // short is at least 16b
246 ASSERT_GE(zTy->getPrimitiveSizeInBits(), 32u); // long is at least 32b
tools/lldb/source/Expression/IRInterpreter.cpp 616 if (operand_type->getPrimitiveSizeInBits() > 64) {
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp 522 size_t byte_size = retType.getPrimitiveSizeInBits();
541 const size_t byte_size = retType.getPrimitiveSizeInBits() / CHAR_BIT;
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp 59 ->getPrimitiveSizeInBits() > 128;
tools/llvm-stress/llvm-stress.cpp 439 APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits));
451 Ty, APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits())));
454 Ty, APInt::getNullValue(Ty->getPrimitiveSizeInBits())));
562 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits();
563 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
tools/polly/lib/CodeGen/IslExprBuilder.cpp 167 if (T1->getPrimitiveSizeInBits() < T2->getPrimitiveSizeInBits())
167 if (T1->getPrimitiveSizeInBits() < T2->getPrimitiveSizeInBits())
unittests/AsmParser/AsmParserTest.cpp 181 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
187 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 13);
210 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
224 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
238 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
257 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
271 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
306 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
313 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 13);
340 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
355 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
370 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
391 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
406 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
412 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32);
unittests/IR/VectorTypesTest.cpp 177 TypeSize V2I32Len = V2Int32Ty->getPrimitiveSizeInBits();
181 EXPECT_LT(V2Int32Ty->getPrimitiveSizeInBits(),
182 V4Int32Ty->getPrimitiveSizeInBits());
183 EXPECT_GT(V2Int64Ty->getPrimitiveSizeInBits(),
184 V2Int32Ty->getPrimitiveSizeInBits());
185 EXPECT_EQ(V4Int32Ty->getPrimitiveSizeInBits(),
186 V2Int64Ty->getPrimitiveSizeInBits());
187 EXPECT_NE(V2Int32Ty->getPrimitiveSizeInBits(),
188 V2Int64Ty->getPrimitiveSizeInBits());
191 EXPECT_EQ(V2Int64Ty->getPrimitiveSizeInBits().getFixedSize(),
192 V4Int32Ty->getPrimitiveSizeInBits().getFixedSize());
226 TypeSize ScV2I32Len = ScV2Int32Ty->getPrimitiveSizeInBits();
230 EXPECT_LT(ScV2Int32Ty->getPrimitiveSizeInBits(),
231 ScV4Int32Ty->getPrimitiveSizeInBits());
232 EXPECT_GT(ScV2Int64Ty->getPrimitiveSizeInBits(),
233 ScV2Int32Ty->getPrimitiveSizeInBits());
234 EXPECT_EQ(ScV4Int32Ty->getPrimitiveSizeInBits(),
235 ScV2Int64Ty->getPrimitiveSizeInBits());
236 EXPECT_NE(ScV2Int32Ty->getPrimitiveSizeInBits(),
237 ScV2Int64Ty->getPrimitiveSizeInBits());
268 EXPECT_NE(V4Int32Ty->getPrimitiveSizeInBits(),
269 ScV4Int32Ty->getPrimitiveSizeInBits());
271 EXPECT_EQ(V4Int32Ty->getPrimitiveSizeInBits().getKnownMinSize(),
272 ScV4Int32Ty->getPrimitiveSizeInBits().getKnownMinSize());