/external/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 182 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/swiftshader/third_party/llvm-7.0/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 182 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ShuffleDecodeConstantPool.cpp | 46 unsigned CstSizeInBits = CstTy->getPrimitiveSizeInBits(); in extractConstantMask() 117 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodePSHUFBMask() 157 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMILPMask() 194 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMIL2PMask() 246 assert(C->getType()->getPrimitiveSizeInBits() == 128 && in DecodeVPPERMMask() 297 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMVMask() 325 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMV3Mask()
|
/external/llvm/lib/Target/X86/ |
D | X86ShuffleDecodeConstantPool.cpp | 39 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/ |
D | SystemZTargetTransformInfo.cpp | 37 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/ |
D | DerivedTypes.h | 376 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/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | DerivedTypes.h | 383 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/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 380 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-7.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 407 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger() 416 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType() 424 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType() 453 return getNumElements() * getElementType()->getPrimitiveSizeInBits(); in getBitWidth()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 473 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 …]
|
D | InstCombinePHI.cpp | 569 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 56 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 86 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 120 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 423 unsigned MemBytes = Src->getPrimitiveSizeInBits(); in getMemoryOpCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 37 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 70 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 188 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 519 assert (SrcTy->getPrimitiveSizeInBits() > DstTy->getPrimitiveSizeInBits() && in getVectorTruncCost() 887 (64U * VecTy->getVectorNumElements()) : VecTy->getPrimitiveSizeInBits()); in getInterleavedMemoryOpCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMCodeGenPrepare.cpp | 288 unsigned TypeSize = OrigTy->getPrimitiveSizeInBits(); in Mutate() 546 VSize = PtrTy->getElementType()->getPrimitiveSizeInBits(); in isLegalToPromote() 548 VSize = ZExt->getOperand(0)->getType()->getPrimitiveSizeInBits(); in isLegalToPromote() 550 VSize = V->getType()->getPrimitiveSizeInBits(); in isLegalToPromote() 567 TypeSize = OrigTy->getPrimitiveSizeInBits(); in TryToPromote()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 51 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/ |
D | InstCombineCasts.cpp | 455 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 …]
|
D | InstCombineCalls.cpp | 280 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 …]
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 390 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 440 APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits)); in Act() 452 Ty, APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); in Act() 455 Ty, APInt::getNullValue(Ty->getPrimitiveSizeInBits()))); in Act() 563 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); in Act() 564 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 472 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() 473 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() 728 unsigned ASize = A->getType()->getPrimitiveSizeInBits(); in visitTrunc() 752 const unsigned SExtSize = SExt->getType()->getPrimitiveSizeInBits(); in visitTrunc() 753 const unsigned ASize = A->getType()->getPrimitiveSizeInBits(); in visitTrunc() 754 const unsigned CISize = CI.getType()->getPrimitiveSizeInBits(); in visitTrunc() 1802 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != in optimizeVectorResize() 1803 DestTy->getElementType()->getPrimitiveSizeInBits()) in optimizeVectorResize() 1843 return Value % Ty->getPrimitiveSizeInBits() == 0; in isMultipleOfTypeSize() 1847 return Value / Ty->getPrimitiveSizeInBits(); in getTypeSizeIndex() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 195 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()
|
D | LoadCombine.cpp | 187 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/ |
D | PTXAsmPrinter.cpp | 93 switch (type->getPrimitiveSizeInBits()) { in getTypeName() 348 uint64_t arraySize = (elementTy->getPrimitiveSizeInBits() >> 3) in EmitVariableDeclaration() 478 decl += utostr(ArgType->getPrimitiveSizeInBits()); in EmitFunctionEntryLabel()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | llvm_util.cc | 218 int bits = type->getPrimitiveSizeInBits(); in GetSizeInBits() 490 auto size = rotand->getType()->getPrimitiveSizeInBits(); in CreateRor() 674 CHECK_EQ(src0->getType()->getPrimitiveSizeInBits(), 32); in UMulLowHigh32() 675 CHECK_EQ(src1->getType()->getPrimitiveSizeInBits(), 32); in UMulLowHigh32() 684 CHECK_EQ(value_64bits->getType()->getPrimitiveSizeInBits(), 64); in SplitInt64ToInt32s()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 1139 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()
|