| /NextBSD/contrib/llvm/lib/Target/SystemZ/ |
| HD | SystemZTargetTransformInfo.cpp | 37 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 70 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 188 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
|
| /NextBSD/contrib/llvm/lib/Target/PowerPC/ |
| HD | PPCTargetTransformInfo.cpp | 44 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 74 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 108 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 334 Src->getPrimitiveSizeInBits() >= LT.second.getSizeInBits() && in getMemoryOpCost()
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | DerivedTypes.h | 379 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger() 390 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType() 400 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType() 437 return NumElements * getElementType()->getPrimitiveSizeInBits(); in getBitWidth()
|
| HD | Type.h | 293 unsigned getPrimitiveSizeInBits() const LLVM_READONLY;
|
| /NextBSD/contrib/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineCasts.cpp | 487 unsigned ASize = A->getType()->getPrimitiveSizeInBits(); in visitTrunc() 1503 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != in OptimizeVectorResize() 1504 DestTy->getElementType()->getPrimitiveSizeInBits()) in OptimizeVectorResize() 1544 return Value % Ty->getPrimitiveSizeInBits() == 0; in isMultipleOfTypeSize() 1548 return Value / Ty->getPrimitiveSizeInBits(); in getTypeSizeIndex() 1593 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(), in CollectInsertionElements() 1605 C->getType()->getPrimitiveSizeInBits())); in CollectInsertionElements() 1606 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); in CollectInsertionElements() 1632 I->getOperand(0)->getType()->getPrimitiveSizeInBits(), in CollectInsertionElements() 1710 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in OptimizeIntToFloatBitCast() [all …]
|
| HD | InstCombinePHI.cpp | 565 return Inst->getType()->getPrimitiveSizeInBits() < in operator <() 566 RHS.Inst->getType()->getPrimitiveSizeInBits(); in operator <() 576 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} in LoweredPHIRecord() 891 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
|
| HD | InstCombineCompares.cpp | 398 if (Idx->getType()->getPrimitiveSizeInBits() > PtrSize) in FoldCmpLoadFromIndexedGlobal() 576 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in EvaluateGEPOffsetExpression() 671 if (LHSIndexTy->getPrimitiveSizeInBits() < in FoldGEPICmp() 672 RHSIndexTy->getPrimitiveSizeInBits()) { in FoldGEPICmp() 704 if (GEPLHS->getOperand(i)->getType()->getPrimitiveSizeInBits() != in FoldGEPICmp() 705 GEPRHS->getOperand(i)->getType()->getPrimitiveSizeInBits()) { in FoldGEPICmp() 763 unsigned BitWidth = CI->getType()->getPrimitiveSizeInBits(); in FoldICmpAddOpCst() 1151 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), in visitICmpInstWithInstAndIntCst() 1152 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits(); in visitICmpInstWithInstAndIntCst() 2079 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth) in ProcessUGT_ADDCST_ADD() [all …]
|
| HD | InstructionCombining.cpp | 88 unsigned FromWidth = From->getPrimitiveSizeInBits(); in ShouldChangeType() 89 unsigned ToWidth = To->getPrimitiveSizeInBits(); in ShouldChangeType() 1108 unsigned SmallSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); in Descale() 1139 unsigned LargeSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); in Descale() 1142 if (logScale + 1 == (int32_t)Cast->getType()->getPrimitiveSizeInBits()) in Descale() 1688 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits(); in visitGetElementPtrInst() 1727 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits(); in visitGetElementPtrInst() 2042 unsigned BitWidth = VTy->getPrimitiveSizeInBits(); in visitReturnInst()
|
| HD | InstCombineMulDivRem.cpp | 220 unsigned Width = NewCst->getType()->getPrimitiveSizeInBits(); in visitMul() 367 APInt Negative2(I.getType()->getPrimitiveSizeInBits(), (uint64_t)-2, true); in visitMul() 1153 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits())); in visitSDiv() 1434 APInt Mask(APInt::getSignBit(I.getType()->getPrimitiveSizeInBits())); in visitSRem()
|
| /NextBSD/contrib/llvm/tools/llvm-stress/ |
| HD | llvm-stress.cpp | 391 APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits)); in Act() 403 APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); in Act() 406 APInt::getNullValue(Ty->getPrimitiveSizeInBits()))); in Act() 508 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); in Act() 509 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act()
|
| /NextBSD/contrib/llvm/lib/Transforms/Scalar/ |
| HD | Float2Int.cpp | 200 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); in walkBackwards() 209 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); in walkBackwards() 449 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*IsUnsigned=*/false); in convert()
|
| HD | LoadCombine.cpp | 174 TotalSize += L.Load->getType()->getPrimitiveSizeInBits(); in combineLoads() 176 TotalSize -= Loads.pop_back_val().Load->getType()->getPrimitiveSizeInBits(); in combineLoads()
|
| HD | ScalarReplAggregates.cpp | 419 (In->isIntegerTy() && In->getPrimitiveSizeInBits() >= 8 && in MergeInTypeForLoadOrStore() 420 isPowerOf2_32(In->getPrimitiveSizeInBits()))) { in MergeInTypeForLoadOrStore() 423 unsigned EltSize = In->getPrimitiveSizeInBits()/8; in MergeInTypeForLoadOrStore() 432 ->getPrimitiveSizeInBits()/8)) { in MergeInTypeForLoadOrStore() 979 if (SV->getType()->getPrimitiveSizeInBits() < in ConvertScalar_InsertValue() 980 AllocaType->getPrimitiveSizeInBits()) in ConvertScalar_InsertValue()
|
| HD | AlignmentFromAssumptions.cpp | 292 unsigned OffSCEVBits = OffSCEV->getType()->getPrimitiveSizeInBits(); in extractAlignmentInfo()
|
| /NextBSD/contrib/llvm/lib/Target/AArch64/ |
| HD | AArch64TargetTransformInfo.cpp | 43 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 68 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 134 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
|
| /NextBSD/contrib/llvm/lib/CodeGen/ |
| HD | IntrinsicLowering.cpp | 169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerBSWAP() 273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() 306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ()
|
| /NextBSD/contrib/llvm/lib/Target/X86/ |
| HD | X86TargetObjectFile.cpp | 137 return APIntToHexString(APInt::getNullValue(Ty->getPrimitiveSizeInBits())); in scalarConstantToHexString()
|
| HD | X86TargetTransformInfo.cpp | 986 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 1021 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 1090 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 1122 int DataWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad()
|
| /NextBSD/contrib/llvm/lib/ExecutionEngine/ |
| HD | ExecutionEngine.cpp | 602 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue() 613 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue() 631 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue() 989 APInt(CV->getOperand(i)->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue() 996 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()
|
| /NextBSD/contrib/llvm/lib/Target/Hexagon/ |
| HD | HexagonGenExtract.cpp | 148 unsigned BW = Ty->getPrimitiveSizeInBits(); in INITIALIZE_PASS_DEPENDENCY()
|
| /NextBSD/contrib/llvm/lib/Analysis/ |
| HD | ConstantFolding.cpp | 73 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast() 136 unsigned FPWidth = DstEltTy->getPrimitiveSizeInBits(); in FoldBitCast() 149 unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast() 171 unsigned SrcBitSize = SrcEltTy->getPrimitiveSizeInBits(); in FoldBitCast() 560 unsigned NumBits = Ty->getPrimitiveSizeInBits(); in ConstantFoldLoadFromConstPtr()
|
| HD | ValueTracking.cpp | 2198 if (Op1C->getType()->getPrimitiveSizeInBits() < in ComputeMultiple() 2199 MulC->getType()->getPrimitiveSizeInBits()) in ComputeMultiple() 2201 if (Op1C->getType()->getPrimitiveSizeInBits() > in ComputeMultiple() 2202 MulC->getType()->getPrimitiveSizeInBits()) in ComputeMultiple() 2222 if (Op0C->getType()->getPrimitiveSizeInBits() < in ComputeMultiple() 2223 MulC->getType()->getPrimitiveSizeInBits()) in ComputeMultiple() 2225 if (Op0C->getType()->getPrimitiveSizeInBits() > in ComputeMultiple() 2226 MulC->getType()->getPrimitiveSizeInBits()) in ComputeMultiple()
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Type.cpp | 121 unsigned Type::getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits() function in Type 140 return getScalarType()->getPrimitiveSizeInBits(); in getScalarSizeInBits()
|
| HD | Instructions.cpp | 2491 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr in isCastable() 2492 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isCastable() 2553 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr in isBitCastable() 2554 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isBitCastable() 2611 unsigned SrcBits = SrcTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode() 2612 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode() 2768 return SrcTy->getPrimitiveSizeInBits() == DstTy->getPrimitiveSizeInBits(); in castIsValid()
|
| /NextBSD/contrib/llvm/lib/Target/X86/Utils/ |
| HD | X86ShuffleDecode.cpp | 280 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodePSHUFBMask()
|