Searched refs:getPrimitiveSizeInBits (Results 1 - 25 of 69) sorted by relevance

123

/external/llvm/include/llvm/IR/
H A DDerivedTypes.h375 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
386 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
396 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
433 return NumElements * getElementType()->getPrimitiveSizeInBits();
H A DType.h276 /// 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 DSystemZTargetTransformInfo.cpp37 unsigned BitSize = Ty->getPrimitiveSizeInBits();
70 unsigned BitSize = Ty->getPrimitiveSizeInBits();
188 unsigned BitSize = Ty->getPrimitiveSizeInBits();
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp44 unsigned BitSize = Ty->getPrimitiveSizeInBits();
74 unsigned BitSize = Ty->getPrimitiveSizeInBits();
108 unsigned BitSize = Ty->getPrimitiveSizeInBits();
/external/llvm/lib/Transforms/Scalar/
H A DLoadCombine.cpp175 TotalSize += L.Load->getType()->getPrimitiveSizeInBits();
177 TotalSize -= Loads.pop_back_val().Load->getType()->getPrimitiveSizeInBits();
H A DFloat2Int.cpp207 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits();
216 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits();
456 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*IsUnsigned=*/false);
H A DScalarReplAggregates.cpp420 (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 DAlignmentFromAssumptions.cpp295 unsigned OffSCEVBits = OffSCEV->getType()->getPrimitiveSizeInBits();
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp391 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 DIntrinsicLowering.cpp169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits();
273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits();
306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits();
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp43 unsigned BitSize = Ty->getPrimitiveSizeInBits();
68 unsigned BitSize = Ty->getPrimitiveSizeInBits();
134 unsigned BitSize = Ty->getPrimitiveSizeInBits();
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp262 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 DInstCombineCasts.cpp455 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 DInstCombinePHI.cpp659 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 DInstCombineCompares.cpp395 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 DInstCombineMulDivRem.cpp227 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 DInstructionCombining.cpp111 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 DNVPTXISelLowering.h462 return SrcTy->getPrimitiveSizeInBits() == 64 &&
463 DstTy->getPrimitiveSizeInBits() == 32;
/external/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp148 unsigned BW = Ty->getPrimitiveSizeInBits();
/external/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp138 return APIntToHexString(APInt::getNullValue(Ty->getPrimitiveSizeInBits()));
H A DX86TargetTransformInfo.cpp1147 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 DLoopUtils.cpp101 unsigned DstSize = RT->getPrimitiveSizeInBits();
132 unsigned SrcSize = Cast->getSrcTy()->getPrimitiveSizeInBits();
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp610 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 DInstructions.cpp2807 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 DType.cpp114 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();

Completed in 1728 milliseconds

123