Home
last modified time | relevance | path

Searched refs:getScalarSizeInBits (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp373 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated()
374 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated()
389 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated()
399 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated()
400 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateTruncated()
468 if (DestTy->getScalarSizeInBits() == 1) { in visitTrunc()
529 In->getType()->getScalarSizeInBits()-1); in transformZExtICmp()
697 unsigned VSize = V->getType()->getScalarSizeInBits(); in CanEvaluateZExtd()
724 if (BitsToClear > V->getType()->getScalarSizeInBits()) in CanEvaluateZExtd()
725 BitsToClear = V->getType()->getScalarSizeInBits(); in CanEvaluateZExtd()
[all …]
DInstCombineShifts.cpp92 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted()
93 uint32_t BitWidth = Ty->getScalarSizeInBits(); in CanEvaluateShifted()
128 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted()
152 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); in CanEvaluateShifted()
215 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue()
257 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); in GetShiftedValue()
342 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
381 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
382 unsigned DstSize = TI->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
746 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); in visitLShr()
[all …]
DInstCombineSimplifyDemanded.cpp55 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); in SimplifyDemandedInstructionBits()
113 VTy->getScalarSizeInBits() == BitWidth) && in SimplifyDemandedUseBits()
398 unsigned truncBf = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()
435 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()
453 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits()
DInstCombineSelect.cpp517 else if (CmpRHS->getType()->getScalarSizeInBits() in visitSelectInstWithICmp()
DInstCombineCompares.cpp2411 BitWidth = Ty->getScalarSizeInBits(); in visitICmpInst()
3305 unsigned InputSize = LHSI->getOperand(0)->getType()->getScalarSizeInBits(); in FoldFCmp_IntToFP_Cst()
3360 unsigned IntWidth = IntTy->getScalarSizeInBits(); in FoldFCmp_IntToFP_Cst()
/external/llvm/lib/IR/
DInstructions.cpp2116 return IntPtrTy->getScalarSizeInBits() == in isNoopCast()
2117 DestTy->getScalarSizeInBits(); in isNoopCast()
2119 return IntPtrTy->getScalarSizeInBits() == in isNoopCast()
2120 SrcTy->getScalarSizeInBits(); in isNoopCast()
2267 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair()
2278 unsigned PtrSize = SrcIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair()
2287 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair()
2288 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair()
2308 unsigned PtrSize = MidIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair()
2309 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair()
[all …]
DConstants.cpp1519 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getZExtOrBitCast()
1525 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getSExtOrBitCast()
1531 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getTruncOrBitCast()
1566 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast()
1567 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast()
1578 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast()
1579 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast()
1595 assert(C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& in getTrunc()
1609 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getSExt()
1623 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getZExt()
[all …]
DVerifier.cpp1260 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitTruncInst()
1261 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitTruncInst()
1282 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitZExtInst()
1283 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitZExtInst()
1296 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitSExtInst()
1297 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitSExtInst()
1313 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPTruncInst()
1314 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPTruncInst()
1331 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); in visitFPExtInst()
1332 unsigned DestBitSize = DestTy->getScalarSizeInBits(); in visitFPExtInst()
DType.cpp135 unsigned Type::getScalarSizeInBits() const { in getScalarSizeInBits() function in Type
/external/llvm/lib/Analysis/
DValueTracking.cpp42 if (unsigned BitWidth = Ty->getScalarSizeInBits()) in getBitWidth()
239 V->getType()->getScalarSizeInBits() == BitWidth) && in computeKnownBits()
431 SrcBitWidth = SrcTy->getScalarSizeInBits(); in computeKnownBits()
459 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBits()
644 unsigned GEPOpiBits = Index->getType()->getScalarSizeInBits(); in computeKnownBits()
881 unsigned BitWidth = V->getType()->getScalarSizeInBits(); in isKnownToBeAPowerOfTwo()
1138 Ty->getScalarSizeInBits(); in ComputeNumSignBits()
1152 Tmp = TyBits - U->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeNumSignBits()
DTargetTransformInfo.cpp291 unsigned OpSize = OpTy->getScalarSizeInBits(); in getOperationCost()
305 unsigned DestSize = Ty->getScalarSizeInBits(); in getOperationCost()
DConstantFolding.cpp1038 unsigned InWidth = Input->getType()->getScalarSizeInBits(); in ConstantFoldInstOperands()
1060 unsigned MidIntSize = CE->getType()->getScalarSizeInBits(); in ConstantFoldInstOperands()
/external/llvm/include/llvm/IR/
DIRBuilder.h1111 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits())
1113 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
1125 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits())
1127 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
DType.h298 unsigned getScalarSizeInBits() const LLVM_READONLY;
/external/llvm/include/llvm/CodeGen/
DValueTypes.h240 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function
DMachineValueType.h432 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp311 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
331 if (Val0->getType()->getScalarSizeInBits() == 1) in Act()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp407 unsigned IntegerSize = I.getType()->getScalarSizeInBits(); in visitPtrToInt()
445 unsigned IntegerSize = Op->getType()->getScalarSizeInBits(); in visitIntToPtr()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp786 if (NumElem == 3 && VTy->getScalarSizeInBits() == 32) in getMemoryOpCost()
791 if (NumElem == 3 && VTy->getScalarSizeInBits() == 64) in getMemoryOpCost()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp298 unsigned DiffBits = NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(); in PromoteIntRes_BSWAP()
348 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), in PromoteIntRes_CTLZ()
367 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(), in PromoteIntRes_CTTZ()
368 OVT.getScalarSizeInBits()); in PromoteIntRes_CTTZ()
DLegalizeVectorOps.cpp824 int ScalarSizeInBytes = VT.getScalarSizeInBits() / 8; in ExpandBSWAP()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp389 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1510 SrcBitSize = SrcTy->getScalarSizeInBits(); in executeBitCastInst()
1523 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp966 intZero.IntVal = APInt(ElemTy->getScalarSizeInBits(), 0ull); in getConstantValue()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1357 Ty->getVectorNumElements() * Ty->getScalarSizeInBits() : in VectorOrPrimitiveTypeSizeInBits()
2069 ResTy->getScalarSizeInBits() - SignificantBitsPerResultElement; in handleVectorSadIntrinsic()

12