Home
last modified time | relevance | path

Searched refs:getPrimitiveSizeInBits (Results 1 – 25 of 66) sorted by relevance

123

/NextBSD/contrib/llvm/lib/Target/SystemZ/
HDSystemZTargetTransformInfo.cpp37 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/
HDPPCTargetTransformInfo.cpp44 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/
HDDerivedTypes.h379 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()
HDType.h293 unsigned getPrimitiveSizeInBits() const LLVM_READONLY;
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCasts.cpp487 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 …]
HDInstCombinePHI.cpp565 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()
HDInstCombineCompares.cpp398 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 …]
HDInstructionCombining.cpp88 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()
HDInstCombineMulDivRem.cpp220 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/
HDllvm-stress.cpp391 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/
HDFloat2Int.cpp200 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()
HDLoadCombine.cpp174 TotalSize += L.Load->getType()->getPrimitiveSizeInBits(); in combineLoads()
176 TotalSize -= Loads.pop_back_val().Load->getType()->getPrimitiveSizeInBits(); in combineLoads()
HDScalarReplAggregates.cpp419 (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()
HDAlignmentFromAssumptions.cpp292 unsigned OffSCEVBits = OffSCEV->getType()->getPrimitiveSizeInBits(); in extractAlignmentInfo()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64TargetTransformInfo.cpp43 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/
HDIntrinsicLowering.cpp169 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/
HDX86TargetObjectFile.cpp137 return APIntToHexString(APInt::getNullValue(Ty->getPrimitiveSizeInBits())); in scalarConstantToHexString()
HDX86TargetTransformInfo.cpp986 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/
HDExecutionEngine.cpp602 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/
HDHexagonGenExtract.cpp148 unsigned BW = Ty->getPrimitiveSizeInBits(); in INITIALIZE_PASS_DEPENDENCY()
/NextBSD/contrib/llvm/lib/Analysis/
HDConstantFolding.cpp73 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()
HDValueTracking.cpp2198 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/
HDType.cpp121 unsigned Type::getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits() function in Type
140 return getScalarType()->getPrimitiveSizeInBits(); in getScalarSizeInBits()
HDInstructions.cpp2491 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/
HDX86ShuffleDecode.cpp280 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodePSHUFBMask()

123