/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 370 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated() 371 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated() 386 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated() 396 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated() 397 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated() 465 if (DestTy->getScalarSizeInBits() == 1) { in visitTrunc() 526 In->getType()->getScalarSizeInBits()-1); in transformZExtICmp() 694 unsigned VSize = V->getType()->getScalarSizeInBits(); in CanEvaluateZExtd() 721 if (BitsToClear > V->getType()->getScalarSizeInBits()) in CanEvaluateZExtd() 722 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() 213 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() 255 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue() 331 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 378 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 379 unsigned DstSize = TI->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 729 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); in visitLShr() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 54 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); in SimplifyDemandedInstructionBits() 112 VTy->getScalarSizeInBits() == BitWidth) && in SimplifyDemandedUseBits() 397 unsigned truncBf = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 434 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() 452 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()
|
D | InstCombineSelect.cpp | 466 else if (CmpRHS->getType()->getScalarSizeInBits() in visitSelectInstWithICmp()
|
D | InstCombineCompares.cpp | 2118 BitWidth = Ty->getScalarSizeInBits(); in visitICmpInst() 2963 unsigned InputSize = LHSI->getOperand(0)->getType()->getScalarSizeInBits(); in FoldFCmp_IntToFP_Cst() 3018 unsigned IntWidth = IntTy->getScalarSizeInBits(); in FoldFCmp_IntToFP_Cst()
|
D | InstCombineAddSub.cpp | 943 uint32_t TySizeBits = I.getType()->getScalarSizeInBits(); in visitAdd()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2102 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2103 DestTy->getScalarSizeInBits(); in isNoopCast() 2105 return IntPtrTy->getScalarSizeInBits() == in isNoopCast() 2106 SrcTy->getScalarSizeInBits(); in isNoopCast() 2228 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair() 2240 unsigned PtrSize = SrcIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2249 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() 2250 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() 2281 if (SrcIntPtrTy->getScalarSizeInBits() == in isEliminableCastPair() 2282 MidIntPtrTy->getScalarSizeInBits()) in isEliminableCastPair() [all …]
|
D | Constants.cpp | 1468 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getZExtOrBitCast() 1474 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getSExtOrBitCast() 1480 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getTruncOrBitCast() 1499 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() 1500 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() 1511 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() 1512 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() 1528 assert(C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& in getTrunc() 1542 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getSExt() 1556 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getZExt() [all …]
|
D | Verifier.cpp | 1214 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitTruncInst() 1215 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst() 1236 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitZExtInst() 1237 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst() 1250 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitSExtInst() 1251 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst() 1267 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPTruncInst() 1268 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst() 1285 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPExtInst() 1286 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst()
|
D | Type.cpp | 135 unsigned Type::getScalarSizeInBits() { in getScalarSizeInBits() function in Type
|
/external/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 271 if (DL && DL->isLegalInteger(OpTy->getScalarSizeInBits()) && in getOperationCost() 272 OpTy->getScalarSizeInBits() <= DL->getPointerSizeInBits()) in getOperationCost() 281 if (DL && DL->isLegalInteger(Ty->getScalarSizeInBits()) && in getOperationCost() 282 Ty->getScalarSizeInBits() >= DL->getPointerSizeInBits()) in getOperationCost()
|
D | ValueTracking.cpp | 40 if (unsigned BitWidth = Ty->getScalarSizeInBits()) in getBitWidth() 240 V->getType()->getScalarSizeInBits() == BitWidth) && in ComputeMaskedBits() 439 SrcBitWidth = SrcTy->getScalarSizeInBits(); in ComputeMaskedBits() 467 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeMaskedBits() 642 unsigned GEPOpiBits = Index->getType()->getScalarSizeInBits(); in ComputeMaskedBits() 872 unsigned BitWidth = V->getType()->getScalarSizeInBits(); in isKnownToBeAPowerOfTwo() 1130 Ty->getScalarSizeInBits(); in ComputeNumSignBits() 1144 Tmp = TyBits - U->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeNumSignBits()
|
D | ConstantFolding.cpp | 955 unsigned InWidth = Input->getType()->getScalarSizeInBits(); in ConstantFoldInstOperands() 973 TD->getPointerSizeInBits() <= CE->getType()->getScalarSizeInBits() && in ConstantFoldInstOperands()
|
D | InstructionSimplify.cpp | 1315 Op0->getType()->getScalarSizeInBits()) in SimplifyShift()
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1043 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1045 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits()) 1057 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1059 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
|
D | Type.h | 308 unsigned getScalarSizeInBits();
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 566 if (NumElem == 3 && VTy->getScalarSizeInBits() == 32) in getMemoryOpCost() 571 if (NumElem == 3 && VTy->getScalarSizeInBits() == 64) in getMemoryOpCost()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 309 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act() 329 if (Val0->getType()->getScalarSizeInBits() == 1) in Act()
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 405 unsigned IntegerSize = I.getType()->getScalarSizeInBits(); in visitPtrToInt() 442 unsigned IntegerSize = Op->getType()->getScalarSizeInBits(); in visitIntToPtr()
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 390 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 1527 SrcBitSize = SrcTy->getScalarSizeInBits(); in executeBitCastInst() 1540 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 917 intZero.IntVal = APInt(ElemTy->getScalarSizeInBits(), 0ull); in getConstantValue()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 882 if (T1->getScalarSizeInBits() == 1) { in isInstVectorizable() 890 if (T2->getScalarSizeInBits() == 1) { in isInstVectorizable()
|
D | LoopVectorize.cpp | 2667 if (Ty0->getScalarSizeInBits() > Ty1->getScalarSizeInBits()) in getWiderType()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1106 Ty->getVectorNumElements() * Ty->getScalarSizeInBits() : in VectorOrPrimitiveTypeSizeInBits()
|