/external/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 375 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); 386 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); 396 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); 433 return NumElements * getElementType()->getPrimitiveSizeInBits();
|
H A D | Type.h | 276 /// getPrimitiveSizeInBits - Return the basic size of this type if it is a 286 unsigned getPrimitiveSizeInBits() const LLVM_READONLY; 289 /// getPrimitiveSizeInBits value for the element type. Otherwise return the 290 /// getPrimitiveSizeInBits value for this type.
|
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 37 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 70 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 188 unsigned BitSize = Ty->getPrimitiveSizeInBits();
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 44 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 74 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 108 unsigned BitSize = Ty->getPrimitiveSizeInBits();
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoadCombine.cpp | 175 TotalSize += L.Load->getType()->getPrimitiveSizeInBits(); 177 TotalSize -= Loads.pop_back_val().Load->getType()->getPrimitiveSizeInBits();
|
H A D | Float2Int.cpp | 207 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); 216 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); 456 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*IsUnsigned=*/false);
|
H A D | ScalarReplAggregates.cpp | 420 (In->isIntegerTy() && In->getPrimitiveSizeInBits() >= 8 && 421 isPowerOf2_32(In->getPrimitiveSizeInBits()))) { 424 unsigned EltSize = In->getPrimitiveSizeInBits()/8; 433 ->getPrimitiveSizeInBits()/8)) { 980 if (SV->getType()->getPrimitiveSizeInBits() < 981 AllocaType->getPrimitiveSizeInBits())
|
H A D | AlignmentFromAssumptions.cpp | 295 unsigned OffSCEVBits = OffSCEV->getType()->getPrimitiveSizeInBits();
|
/external/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 391 APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits)); 403 APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); 406 APInt::getNullValue(Ty->getPrimitiveSizeInBits()))); 508 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); 509 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
|
/external/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); 273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); 306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits();
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 43 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 68 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 134 unsigned BitSize = Ty->getPrimitiveSizeInBits();
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 262 unsigned BitWidth = VT->getElementType()->getPrimitiveSizeInBits(); 281 unsigned BitWidth = SVT->getPrimitiveSizeInBits(); 782 unsigned C = X->getType()->getPrimitiveSizeInBits() - 783 IIOperand->getType()->getPrimitiveSizeInBits(); 1165 assert(Arg1->getType()->getPrimitiveSizeInBits() == 128 && 1212 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && 1213 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth0 == 2 && 1247 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 && 1271 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && 1272 Op1->getType()->getPrimitiveSizeInBits() [all...] |
H A D | InstCombineCasts.cpp | 455 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); 456 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); 530 unsigned ASize = A->getType()->getPrimitiveSizeInBits(); 553 const unsigned ASize = A->getType()->getPrimitiveSizeInBits(); 1572 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != 1573 DestTy->getElementType()->getPrimitiveSizeInBits()) 1613 return Value % Ty->getPrimitiveSizeInBits() == 0; 1617 return Value / Ty->getPrimitiveSizeInBits(); 1662 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(), 1674 C->getType()->getPrimitiveSizeInBits())); [all...] |
H A D | InstCombinePHI.cpp | 659 return Inst->getType()->getPrimitiveSizeInBits() < 660 RHS.Inst->getType()->getPrimitiveSizeInBits(); 670 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} 988 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits()))
|
H A D | InstCombineCompares.cpp | 395 if (Idx->getType()->getPrimitiveSizeInBits() > PtrSize) 569 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { 664 if (LHSIndexTy->getPrimitiveSizeInBits() < 665 RHSIndexTy->getPrimitiveSizeInBits()) { 697 if (GEPLHS->getOperand(i)->getType()->getPrimitiveSizeInBits() != 698 GEPRHS->getOperand(i)->getType()->getPrimitiveSizeInBits()) { 833 unsigned BitWidth = CI->getType()->getPrimitiveSizeInBits(); 1231 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), 1232 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits(); 2185 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidt [all...] |
H A D | InstCombineMulDivRem.cpp | 227 unsigned Width = NewCst->getType()->getPrimitiveSizeInBits(); 374 APInt Negative2(I.getType()->getPrimitiveSizeInBits(), (uint64_t)-2, true); 1159 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits())); 1440 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits()));
|
H A D | InstructionCombining.cpp | 111 unsigned FromWidth = From->getPrimitiveSizeInBits(); 112 unsigned ToWidth = To->getPrimitiveSizeInBits(); 1140 unsigned SmallSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); 1171 unsigned LargeSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); 1174 if (logScale + 1 == (int32_t)Cast->getType()->getPrimitiveSizeInBits()) 1719 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits(); 1758 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits(); 2073 unsigned BitWidth = VTy->getPrimitiveSizeInBits();
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.h | 462 return SrcTy->getPrimitiveSizeInBits() == 64 && 463 DstTy->getPrimitiveSizeInBits() == 32;
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonGenExtract.cpp | 148 unsigned BW = Ty->getPrimitiveSizeInBits();
|
/external/llvm/lib/Target/X86/ |
H A D | X86TargetObjectFile.cpp | 138 return APIntToHexString(APInt::getNullValue(Ty->getPrimitiveSizeInBits()));
|
H A D | X86TargetTransformInfo.cpp | 1147 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 1182 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 1269 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 1303 DL.getPointerSizeInBits() : ScalarTy->getPrimitiveSizeInBits(); 1327 DL.getPointerSizeInBits() : ScalarTy->getPrimitiveSizeInBits();
|
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 101 unsigned DstSize = RT->getPrimitiveSizeInBits(); 132 unsigned SrcSize = Cast->getSrcTy()->getPrimitiveSizeInBits();
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 610 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); 621 APInt(ElemTy->getPrimitiveSizeInBits(), 0); 639 APInt(ElemTy->getPrimitiveSizeInBits(), 0); 996 APInt(CV->getOperand(i)->getType()->getPrimitiveSizeInBits(), 0); 1003 CDV->getElementType()->getPrimitiveSizeInBits(),
|
/external/llvm/lib/IR/ |
H A D | Instructions.cpp | 2807 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr 2808 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr 2869 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr 2870 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr 2927 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr 2928 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr 3084 return SrcTy->getPrimitiveSizeInBits() == DstTy->getPrimitiveSizeInBits();
|
H A D | Type.cpp | 114 unsigned Type::getPrimitiveSizeInBits() const { function in class:Type 130 /// getPrimitiveSizeInBits value for the element type. Otherwise return the 131 /// getPrimitiveSizeInBits value for this type. 133 return getScalarType()->getPrimitiveSizeInBits();
|