Home
last modified time | relevance | path

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

12345

/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp182 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); in TEST()
188 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 13); in TEST()
211 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); in TEST()
225 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); in TEST()
239 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); in TEST()
258 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); in TEST()
272 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); in TEST()
307 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); in TEST()
314 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 13); in TEST()
341 ASSERT_TRUE(Ty->getPrimitiveSizeInBits() == 32); in TEST()
[all …]
/external/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp39 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodePSHUFBMask()
110 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMILPMask()
163 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMIL2PMask()
234 assert(MaskTy->getPrimitiveSizeInBits() == 128); in DecodeVPPERMMask()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp37 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
70 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
188 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
/external/swiftshader/third_party/LLVM/include/llvm/
DDerivedTypes.h376 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger()
386 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType()
396 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
412 return NumElements * getElementType()->getPrimitiveSizeInBits(); in getBitWidth()
/external/llvm/include/llvm/IR/
DDerivedTypes.h380 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger()
389 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType()
397 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
429 return NumElements * getElementType()->getPrimitiveSizeInBits(); in getBitWidth()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h383 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger()
392 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType()
400 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
429 return getNumElements() * getElementType()->getPrimitiveSizeInBits(); in getBitWidth()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp473 unsigned ASize = A->getType()->getPrimitiveSizeInBits(); in visitTrunc()
1415 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != in OptimizeVectorResize()
1416 DestTy->getElementType()->getPrimitiveSizeInBits()) in OptimizeVectorResize()
1455 return Value % Ty->getPrimitiveSizeInBits() == 0; in isMultipleOfTypeSize()
1459 return Value / Ty->getPrimitiveSizeInBits(); in getTypeSizeIndex()
1495 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(), in CollectInsertionElements()
1507 C->getType()->getPrimitiveSizeInBits())); in CollectInsertionElements()
1508 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); in CollectInsertionElements()
1532 I->getOperand(0)->getType()->getPrimitiveSizeInBits(), in CollectInsertionElements()
1609 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in OptimizeIntToFloatBitCast()
[all …]
DInstCombinePHI.cpp569 return Inst->getType()->getPrimitiveSizeInBits() < in operator <()
570 RHS.Inst->getType()->getPrimitiveSizeInBits(); in operator <()
580 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} in LoweredPHIRecord()
899 !TD->isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
DInstCombineCompares.cpp366 Idx->getType()->getPrimitiveSizeInBits() > TD->getPointerSizeInBits()) in FoldCmpLoadFromIndexedGlobal()
533 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in EvaluateGEPOffsetExpression()
640 if (GEPLHS->getOperand(i)->getType()->getPrimitiveSizeInBits() != in FoldGEPICmp()
641 GEPRHS->getOperand(i)->getType()->getPrimitiveSizeInBits()) { in FoldGEPICmp()
718 unsigned BitWidth = CI->getType()->getPrimitiveSizeInBits(); in FoldICmpAddOpCst()
1002 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), in visitICmpInstWithInstAndIntCst()
1003 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits(); in visitICmpInstWithInstAndIntCst()
1136 uint32_t TyBits = Ty->getPrimitiveSizeInBits(); in visitICmpInstWithInstAndIntCst()
1139 uint32_t BitWidth = AndTy->getPrimitiveSizeInBits(); in visitICmpInstWithInstAndIntCst()
1676 TI->getType()->getPrimitiveSizeInBits() > NewWidth) return 0; in ProcessUGT_ADDCST_ADD()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp51 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
81 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
115 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp455 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
456 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
530 unsigned ASize = A->getType()->getPrimitiveSizeInBits(); in visitTrunc()
553 const unsigned ASize = A->getType()->getPrimitiveSizeInBits(); in visitTrunc()
1575 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != in optimizeVectorResize()
1576 DestTy->getElementType()->getPrimitiveSizeInBits()) in optimizeVectorResize()
1616 return Value % Ty->getPrimitiveSizeInBits() == 0; in isMultipleOfTypeSize()
1620 return Value / Ty->getPrimitiveSizeInBits(); in getTypeSizeIndex()
1665 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(), in collectInsertionElements()
1677 C->getType()->getPrimitiveSizeInBits())); in collectInsertionElements()
[all …]
DInstCombineCalls.cpp280 unsigned BitWidth = VT->getElementType()->getPrimitiveSizeInBits(); in simplifyX86immShift()
299 unsigned BitWidth = SVT->getPrimitiveSizeInBits(); in simplifyX86immShift()
458 APInt Result(ResTy->getPrimitiveSizeInBits(), 0); in simplifyX86movmsk()
1356 unsigned C = X->getType()->getPrimitiveSizeInBits() - in visitCallInst()
1357 IIOperand->getType()->getPrimitiveSizeInBits(); in visitCallInst()
1768 assert(Arg1->getType()->getPrimitiveSizeInBits() == 128 && in visitCallInst()
1803 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in visitCallInst()
1804 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth0 == 2 && in visitCallInst()
1841 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 && in visitCallInst()
1865 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in visitCallInst()
[all …]
DInstCombinePHI.cpp645 return Inst->getType()->getPrimitiveSizeInBits() < in operator <()
646 RHS.Inst->getType()->getPrimitiveSizeInBits(); in operator <()
656 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} in LoweredPHIRecord()
997 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
DInstCombineCompares.cpp402 if (Idx->getType()->getPrimitiveSizeInBits() > PtrSize) in FoldCmpLoadFromIndexedGlobal()
576 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in EvaluateGEPOffsetExpression()
986 if (LHSIndexTy->getPrimitiveSizeInBits() < in FoldGEPICmp()
987 RHSIndexTy->getPrimitiveSizeInBits()) { in FoldGEPICmp()
1020 if (GEPLHS->getOperand(i)->getType()->getPrimitiveSizeInBits() != in FoldGEPICmp()
1021 GEPRHS->getOperand(i)->getType()->getPrimitiveSizeInBits()) { in FoldGEPICmp()
1159 unsigned BitWidth = CI->getType()->getPrimitiveSizeInBits(); in FoldICmpAddOpCst()
1556 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), in visitICmpInstWithInstAndIntCst()
1557 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits(); in visitICmpInstWithInstAndIntCst()
2543 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth) in ProcessUGT_ADDCST_ADD()
[all …]
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp390 APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits)); in Act()
402 APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); in Act()
405 APInt::getNullValue(Ty->getPrimitiveSizeInBits()))); in Act()
507 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); in Act()
508 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp195 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); in walkBackwards()
204 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); in walkBackwards()
444 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*IsUnsigned=*/false); in convert()
DLoadCombine.cpp187 TotalSize += L.Load->getType()->getPrimitiveSizeInBits(); in combineLoads()
189 TotalSize -= Loads.pop_back_val().Load->getType()->getPrimitiveSizeInBits(); in combineLoads()
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXAsmPrinter.cpp93 switch (type->getPrimitiveSizeInBits()) { in getTypeName()
348 uint64_t arraySize = (elementTy->getPrimitiveSizeInBits() >> 3) in EmitVariableDeclaration()
478 decl += utostr(ArgType->getPrimitiveSizeInBits()); in EmitFunctionEntryLabel()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp1139 if (Op1C->getType()->getPrimitiveSizeInBits() < in ComputeMultiple()
1140 MulC->getType()->getPrimitiveSizeInBits()) in ComputeMultiple()
1142 if (Op1C->getType()->getPrimitiveSizeInBits() > in ComputeMultiple()
1143 MulC->getType()->getPrimitiveSizeInBits()) in ComputeMultiple()
1163 if (Op0C->getType()->getPrimitiveSizeInBits() < in ComputeMultiple()
1164 MulC->getType()->getPrimitiveSizeInBits()) in ComputeMultiple()
1166 if (Op0C->getType()->getPrimitiveSizeInBits() > in ComputeMultiple()
1167 MulC->getType()->getPrimitiveSizeInBits()) in ComputeMultiple()
/external/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp40 unsigned Size = Val->getType()->getPrimitiveSizeInBits(); in lowerReturn()
DAArch64TargetTransformInfo.cpp43 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
68 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
134 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.h464 return SrcTy->getPrimitiveSizeInBits() == 64 && in isTruncateFree()
465 DstTy->getPrimitiveSizeInBits() == 32; in isTruncateFree()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DIntrinsicLowering.cpp169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerBSWAP()
273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP()
306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerBSWAP()
273 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP()
306 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ()
/external/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp46 unsigned Size = Val.getType()->getPrimitiveSizeInBits(); in getOrCreateVReg()

12345