Searched refs:getScalarSizeInBits (Results 1 - 25 of 52) sorted by relevance

123

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp92 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits();
93 uint32_t BitWidth = Ty->getScalarSizeInBits();
128 unsigned TypeWidth = I->getType()->getScalarSizeInBits();
153 unsigned TypeWidth = I->getType()->getScalarSizeInBits();
220 unsigned TypeWidth = BO->getType()->getScalarSizeInBits();
262 unsigned TypeWidth = BO->getType()->getScalarSizeInBits();
349 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits();
388 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits();
389 unsigned DstSize = TI->getType()->getScalarSizeInBits();
754 unsigned BitWidth = Op0->getType()->getScalarSizeInBits();
[all...]
H A DInstCombineCasts.cpp367 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits();
368 uint32_t BitWidth = Ty->getScalarSizeInBits();
383 uint32_t BitWidth = Ty->getScalarSizeInBits();
393 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits();
394 uint32_t BitWidth = Ty->getScalarSizeInBits();
515 if (DestTy->getScalarSizeInBits() == 1) {
599 In->getType()->getScalarSizeInBits()-1);
768 unsigned VSize = V->getType()->getScalarSizeInBits();
796 if (BitsToClear > V->getType()->getScalarSizeInBits())
797 BitsToClear = V->getType()->getScalarSizeInBits();
[all...]
H A DInstCombineSimplifyDemanded.cpp56 unsigned BitWidth = Inst.getType()->getScalarSizeInBits();
113 (!VTy->isIntOrIntVectorTy() || VTy->getScalarSizeInBits() == BitWidth) &&
434 unsigned truncBf = I->getOperand(0)->getType()->getScalarSizeInBits();
471 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits();
489 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits();
H A DInstCombineAddSub.cpp916 unsigned BitWidth = LHS->getType()->getScalarSizeInBits();
953 unsigned BitWidth = LHS->getType()->getScalarSizeInBits();
1083 uint32_t TySizeBits = I.getType()->getScalarSizeInBits();
1581 unsigned BitWidth = I.getType()->getScalarSizeInBits();
H A DInstCombineSelect.cpp382 unsigned SizeOfInBits = Count->getType()->getScalarSizeInBits();
444 else if (CmpRHS->getType()->getScalarSizeInBits()
/external/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp385 if (Cond->getType()->getScalarSizeInBits() >
386 Int64Ty->getScalarSizeInBits())
390 ConstantInt::get(Int64Ty, Cond->getType()->getScalarSizeInBits()));
391 if (Cond->getType()->getScalarSizeInBits() <
392 Int64Ty->getScalarSizeInBits())
396 if (C->getType()->getScalarSizeInBits() <
397 Int64Ty->getScalarSizeInBits())
/external/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp84 unsigned ScalarSizeInBits = VT.getScalarSizeInBits();
273 unsigned NumElementsInLane = 128 / VT.getScalarSizeInBits();
370 int ElementBits = VT.getScalarSizeInBits();
396 int ElementBits = MaskTy->getScalarSizeInBits();
433 unsigned SrcScalarBits = SrcVT.getScalarSizeInBits();
434 unsigned DstScalarBits = DstVT.getScalarSizeInBits();
/external/llvm/lib/IR/
H A DInstructions.cpp2313 return IntPtrTy->getScalarSizeInBits() ==
2314 DestTy->getScalarSizeInBits();
2316 return IntPtrTy->getScalarSizeInBits() ==
2317 SrcTy->getScalarSizeInBits();
2460 unsigned MidSize = MidTy->getScalarSizeInBits();
2471 unsigned PtrSize = SrcIntPtrTy->getScalarSizeInBits();
2480 unsigned SrcSize = SrcTy->getScalarSizeInBits();
2481 unsigned DstSize = DstTy->getScalarSizeInBits();
2501 unsigned PtrSize = MidIntPtrTy->getScalarSizeInBits();
2502 unsigned SrcSize = SrcTy->getScalarSizeInBits();
[all...]
H A DConstants.cpp1566 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits())
1572 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits())
1578 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits())
1613 unsigned SrcBits = C->getType()->getScalarSizeInBits();
1614 unsigned DstBits = Ty->getScalarSizeInBits();
1625 unsigned SrcBits = C->getType()->getScalarSizeInBits();
1626 unsigned DstBits = Ty->getScalarSizeInBits();
[all...]
H A DVerifier.cpp2029 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
2030 unsigned DestBitSize = DestTy->getScalarSizeInBits();
2051 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
2052 unsigned DestBitSize = DestTy->getScalarSizeInBits();
2065 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
2066 unsigned DestBitSize = DestTy->getScalarSizeInBits();
2082 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
2083 unsigned DestBitSize = DestTy->getScalarSizeInBits();
2100 unsigned SrcBitSize = SrcTy->getScalarSizeInBits();
2101 unsigned DestBitSize = DestTy->getScalarSizeInBits();
[all...]
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h76 unsigned OpSize = OpTy->getScalarSizeInBits();
87 unsigned DestSize = Ty->getScalarSizeInBits();
/external/llvm/include/llvm/CodeGen/
H A DValueTypes.h257 unsigned getScalarSizeInBits() const { function in struct:llvm::EVT
H A DMachineValueType.h508 unsigned getScalarSizeInBits() const { function in class:llvm::MVT
/external/llvm/include/llvm/IR/
H A DIRBuilder.h1265 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits())
1267 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
1279 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits())
1281 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
H A DType.h288 /// getScalarSizeInBits - If this is a vector type, return the
291 unsigned getScalarSizeInBits() const LLVM_READONLY;
/external/llvm/lib/Analysis/
H A DVectorUtils.cpp470 I.getOperand(0)->getType()->getScalarSizeInBits() <= 64) {
561 if (MinBW < Ty->getScalarSizeInBits())
H A DInlineCost.cpp425 unsigned IntegerSize = I.getType()->getScalarSizeInBits();
463 unsigned IntegerSize = Op->getType()->getScalarSizeInBits();
H A DValueTracking.cpp76 if (unsigned BitWidth = Ty->getScalarSizeInBits())
1196 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits();
1381 unsigned GEPOpiBits = Index->getType()->getScalarSizeInBits();
1516 APInt SignBit = APInt::getSignBit(Ty->getScalarSizeInBits());
1624 V->getType()->getScalarSizeInBits() == BitWidth) &&
1783 unsigned BitWidth = V->getType()->getScalarSizeInBits();
2162 Tmp = TyBits - U->getOperand(0)->getType()->getScalarSizeInBits();
3551 unsigned BitWidth = LHS->getType()->getScalarSizeInBits();
/external/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp393 return A.getScalarSizeInBits() < B.getScalarSizeInBits() ||
394 (A.getScalarSizeInBits() == B.getScalarSizeInBits() &&
405 return OtherVT.getScalarSizeInBits() <= Smallest.getScalarSizeInBits()||
427 return A.getScalarSizeInBits() < B.getScalarSizeInBits() ||
428 (A.getScalarSizeInBits() == B.getScalarSizeInBits()
[all...]
/external/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp250 ValTy->getScalarSizeInBits() <= 32)
263 ValTy->getScalarSizeInBits() <= 32)
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp319 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1)
339 if (Val0->getType()->getScalarSizeInBits() == 1)
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp1267 if (VT.getScalarSizeInBits() >= 32) {
6779 int LaneSize = 128 / VT.getScalarSizeInBits();
6801 int LaneSize = 128 / VT.getScalarSizeInBits();
6932 int NumEltsInLane = 128 / VT.getScalarSizeInBits();
7113 int Scale = VT.getScalarSizeInBits() / 32;
7160 int Scale = VT.getScalarSizeInBits() / 8;
7450 int ShiftEltBits = VT.getScalarSizeInBits() * Scale;
7454 int ShiftAmt = Shift * VT.getScalarSizeInBits() / (ByteShift ? 8 : 1);
7461 MVT ShiftSVT = MVT::getIntegerVT(VT.getScalarSizeInBits() * Scale);
7478 for (int Scale = 2; Scale * VT.getScalarSizeInBits() <
[all...]
H A DX86TargetTransformInfo.cpp959 if (NumElem == 3 && VTy->getScalarSizeInBits() == 32)
964 if (NumElem == 3 && VTy->getScalarSizeInBits() == 64)
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp467 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128)
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp313 unsigned DiffBits = NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits();
326 unsigned DiffBits = NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits();
378 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), dl,
397 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(),
398 OVT.getScalarSizeInBits());

Completed in 767 milliseconds

123