/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 363 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated() 364 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated() 379 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated() 389 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated() 390 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated() 458 if (DestTy->getScalarSizeInBits() == 1) { in visitTrunc() 519 In->getType()->getScalarSizeInBits()-1); in transformZExtICmp() 694 unsigned VSize = V->getType()->getScalarSizeInBits(); in CanEvaluateZExtd() 710 if (BitsToClear > V->getType()->getScalarSizeInBits()) in CanEvaluateZExtd() 711 BitsToClear = V->getType()->getScalarSizeInBits(); in CanEvaluateZExtd() [all …]
|
D | InstCombineShifts.cpp | 90 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted() 91 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateShifted() 126 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted() 150 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted() 212 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() 254 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() 330 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 377 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 378 unsigned DstSize = TI->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 681 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); in visitLShr() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 53 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); in SimplifyDemandedInstructionBits() 111 VTy->getScalarSizeInBits() == BitWidth) && in SimplifyDemandedUseBits() 387 unsigned truncBf = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 424 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 442 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 367 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() 368 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 383 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 393 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() 394 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 515 if (DestTy->getScalarSizeInBits() == 1) { in visitTrunc() 599 In->getType()->getScalarSizeInBits() - 1); in transformZExtICmp() 768 unsigned VSize = V->getType()->getScalarSizeInBits(); in canEvaluateZExtd() 796 if (BitsToClear > V->getType()->getScalarSizeInBits()) in canEvaluateZExtd() 797 BitsToClear = V->getType()->getScalarSizeInBits(); in canEvaluateZExtd() [all …]
|
D | InstCombineShifts.cpp | 84 unsigned TypeWidth = SecondShift->getType()->getScalarSizeInBits(); in canEvaluateShiftedShift() 137 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted() 138 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateShifted() 219 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() 263 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() 350 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 389 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 390 unsigned DstSize = TI->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 755 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); in visitLShr() 808 uint32_t SrcBits = ZI->getOperand(0)->getType()->getScalarSizeInBits(); in visitAShr() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 54 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); in SimplifyDemandedInstructionBits() 112 (!VTy->isIntOrIntVectorTy() || VTy->getScalarSizeInBits() == BitWidth) && in SimplifyDemandedUseBits() 433 unsigned truncBf = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 470 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 488 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()
|
D | InstCombineAddSub.cpp | 896 unsigned BitWidth = LHS->getType()->getScalarSizeInBits(); in WillNotOverflowSignedAdd() 933 unsigned BitWidth = LHS->getType()->getScalarSizeInBits(); in WillNotOverflowSignedSub() 1063 uint32_t TySizeBits = I.getType()->getScalarSizeInBits(); in visitAdd() 1561 unsigned BitWidth = I.getType()->getScalarSizeInBits(); in visitSub()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 95 unsigned ScalarSizeInBits = VT.getScalarSizeInBits(); in DecodeMOVDDUPMask() 297 unsigned NumElementsInLane = 128 / VT.getScalarSizeInBits(); in decodeVSHUF64x2FamilyMask() 346 int ElementBits = VT.getScalarSizeInBits(); in DecodeBLENDMask() 401 (VT.getScalarSizeInBits() == 64) && "Unexpected vector value type"); in DecodeVPERMMask() 411 unsigned DstScalarBits = DstVT.getScalarSizeInBits(); in DecodeZeroExtendMask() 515 unsigned EltSize = VT.getScalarSizeInBits(); in DecodeVPERMILPMask() 533 unsigned EltSize = VT.getScalarSizeInBits(); in DecodeVPERMIL2PMask()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 463 if (Cond->getType()->getScalarSizeInBits() > in InjectTraceForSwitch() 464 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch() 468 ConstantInt::get(Int64Ty, Cond->getType()->getScalarSizeInBits())); in InjectTraceForSwitch() 469 if (Cond->getType()->getScalarSizeInBits() < in InjectTraceForSwitch() 470 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch() 474 if (C->getType()->getScalarSizeInBits() < in InjectTraceForSwitch() 475 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 2060 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2061 DestTy->getScalarSizeInBits(); in isNoopCast() 2063 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2064 SrcTy->getScalarSizeInBits(); in isNoopCast() 2188 unsigned PtrSize = IntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2189 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair() 2198 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() 2199 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() 2229 unsigned PtrSize = IntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2230 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() [all …]
|
D | Constants.cpp | 1257 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getZExtOrBitCast() 1263 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getSExtOrBitCast() 1269 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getTruncOrBitCast() 1287 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() 1288 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() 1299 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() 1300 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() 1316 assert(C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& in getTrunc() 1330 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getSExt() 1344 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getZExt() [all …]
|
D | Verifier.cpp | 858 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitTruncInst() 859 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst() 880 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitZExtInst() 881 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst() 894 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitSExtInst() 895 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst() 911 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPTruncInst() 912 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst() 929 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPExtInst() 930 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2388 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2389 DestTy->getScalarSizeInBits(); in isNoopCast() 2391 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2392 SrcTy->getScalarSizeInBits(); in isNoopCast() 2535 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair() 2546 unsigned PtrSize = SrcIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2555 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() 2556 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() 2576 unsigned PtrSize = MidIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2577 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() [all …]
|
D | Constants.cpp | 1497 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getZExtOrBitCast() 1503 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getSExtOrBitCast() 1509 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getTruncOrBitCast() 1543 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() 1544 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() 1555 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() 1556 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() 1572 assert(C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& in getTrunc() 1586 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getSExt() 1600 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getZExt() [all …]
|
D | AutoUpgrade.cpp | 380 unsigned EltSize = Idx->getScalarSizeInBits(); in UpgradeIntrinsicFunction1() 1081 unsigned IdxSize = 64 / VecTy->getScalarSizeInBits(); in UpgradeIntrinsicCall() 1139 unsigned NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() 1161 int NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() 1177 int NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall()
|
/external/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 337 I.getOperand(0)->getType()->getScalarSizeInBits() <= 64) { in computeMinimumValueSizes() 430 if (isa<PHINode>(*MI) && MinBW < (*MI)->getType()->getScalarSizeInBits()) { in computeMinimumValueSizes() 443 if (MinBW < Ty->getScalarSizeInBits()) in computeMinimumValueSizes()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVToOCL20.cpp | 374 pExpected->setAlignment(CI->getType()->getScalarSizeInBits() / 8); in visitCallSPIRVAtomicBuiltin() 523 srcTy->getScalarSizeInBits() == 1 || in visitCastInst() 524 dstVecTy->getScalarSizeInBits() == 1) in visitCastInst()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 38 if (unsigned BitWidth = Ty->getScalarSizeInBits()) in getBitWidth() 71 V->getType()->getScalarSizeInBits() == BitWidth) && in ComputeMaskedBits() 279 SrcBitWidth = SrcTy->getScalarSizeInBits(); in ComputeMaskedBits() 307 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeMaskedBits() 574 unsigned GEPOpiBits = Index->getType()->getScalarSizeInBits(); in ComputeMaskedBits() 903 Ty->getScalarSizeInBits(); in ComputeNumSignBits() 917 Tmp = TyBits - U->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeNumSignBits()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 76 unsigned OpSize = OpTy->getScalarSizeInBits(); in getOperationCost() 87 unsigned DestSize = Ty->getScalarSizeInBits(); in getOperationCost()
|
/external/llvm/utils/TableGen/ |
D | CodeGenDAGPatterns.cpp | 393 return A.getScalarSizeInBits() < B.getScalarSizeInBits() || in EnforceSmallerThan() 394 (A.getScalarSizeInBits() == B.getScalarSizeInBits() && in EnforceSmallerThan() 405 return OtherVT.getScalarSizeInBits() <= Smallest.getScalarSizeInBits()|| in EnforceSmallerThan() 427 return A.getScalarSizeInBits() < B.getScalarSizeInBits() || in EnforceSmallerThan() 428 (A.getScalarSizeInBits() == B.getScalarSizeInBits() && in EnforceSmallerThan() 436 return OtherVT.getScalarSizeInBits() >= Largest.getScalarSizeInBits() || in EnforceSmallerThan()
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1280 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1282 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits()) 1294 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1296 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
|
D | Type.h | 282 unsigned getScalarSizeInBits() const LLVM_READONLY;
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Type.h | 265 unsigned getScalarSizeInBits();
|
/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 262 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 318 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 338 if (Val0->getType()->getScalarSizeInBits() == 1) in Act()
|