Home
last modified time | relevance | path

Searched refs:getValueSizeInBits (Results 1 – 25 of 49) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp751 assert(Result.getValueSizeInBits() >= Op.getScalarValueSizeInBits() && in SetScalarizedVector()
781 DAG.transferDbgValues(Op, Hi, 0, Hi.getValueSizeInBits(), false); in SetExpandedInteger()
782 DAG.transferDbgValues(Op, Lo, Hi.getValueSizeInBits(), in SetExpandedInteger()
783 Lo.getValueSizeInBits()); in SetExpandedInteger()
785 DAG.transferDbgValues(Op, Lo, 0, Lo.getValueSizeInBits(), false); in SetExpandedInteger()
786 DAG.transferDbgValues(Op, Hi, Lo.getValueSizeInBits(), in SetExpandedInteger()
787 Hi.getValueSizeInBits()); in SetExpandedInteger()
867 unsigned BitWidth = Op.getValueSizeInBits(); in BitConvertToInteger()
1082 Op.getValueSizeInBits() && "Invalid integer splitting!"); in SplitInteger()
1100 EVT::getIntegerVT(*DAG.getContext(), Op.getValueSizeInBits() / 2); in SplitInteger()
DTargetLowering.cpp1185 NewMask == APInt::getSignMask(Op.getValueSizeInBits()) && in SimplifyDemandedBits()
1197 unsigned OpVTSizeInBits = Op.getValueSizeInBits(); in SimplifyDemandedBits()
1200 unsigned ShVal = Op.getValueSizeInBits() - 1; in SimplifyDemandedBits()
1975 ShAmt == Log2_32(N0.getValueSizeInBits())) { in SimplifySetCC()
1998 N0.getValueSizeInBits() > Log2_32_Ceil(CTPOP.getValueSizeInBits()))) { in SimplifySetCC()
2019 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC()
2024 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
2035 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
2118 unsigned origWidth = N0.getValueSizeInBits(); in SimplifySetCC()
2165 unsigned InSize = N0.getOperand(0).getValueSizeInBits(); in SimplifySetCC()
[all …]
DSelectionDAG.cpp785 assert(VT.getSizeInBits() == 2 * N->getOperand(0).getValueSizeInBits() && in VerifySDNode()
1124 assert(VT.getSizeInBits() == Op.getValueSizeInBits() && in getAnyExtendVectorInReg()
1135 assert(VT.getSizeInBits() == Op.getValueSizeInBits() && in getSignExtendVectorInReg()
1146 assert(VT.getSizeInBits() == Op.getValueSizeInBits() && in getZeroExtendVectorInReg()
2254 if (SrcOp.getValueSizeInBits() != BitWidth) { in computeKnownBits()
2255 assert(SrcOp.getValueSizeInBits() > BitWidth && in computeKnownBits()
2873 const unsigned BitWidth = Op.getValueSizeInBits(); in computeKnownBits()
2887 const unsigned BitWidth = Op.getValueSizeInBits(); in computeKnownBits()
3187 if (SrcOp.getValueSizeInBits() != VTBits) { in ComputeNumSignBits()
3188 assert(SrcOp.getValueSizeInBits() > VTBits && in ComputeNumSignBits()
[all …]
DDAGCombiner.cpp3420 DAG.getConstant(N0.getValueSizeInBits() - 1, DL, in visitMULHS()
4458 N0.getValueSizeInBits() == N0.getOperand(0).getScalarValueSizeInBits() && in visitAND()
5638 unsigned BitWidth = Op.getValueSizeInBits(); in calculateByteProvider()
8621 (Op.getValueSizeInBits() == N0.getValueSizeInBits()) ? in visitZERO_EXTEND()
8622 APInt(Op.getValueSizeInBits(), 0) : in visitZERO_EXTEND()
8623 APInt::getBitsSet(Op.getValueSizeInBits(), in visitZERO_EXTEND()
8624 N0.getValueSizeInBits(), in visitZERO_EXTEND()
8625 std::min(Op.getValueSizeInBits(), in visitZERO_EXTEND()
8827 unsigned KnownZeroBits = InnerZExt.getValueSizeInBits() - in visitZERO_EXTEND()
8828 InnerZExt.getOperand(0).getValueSizeInBits(); in visitZERO_EXTEND()
[all …]
DLegalizeIntegerTypes.cpp1100 assert(N->getOperand(0).getValueSizeInBits() >= in PromoteIntOp_BUILD_VECTOR()
1118 assert(N->getOperand(1).getValueSizeInBits() >= in PromoteIntOp_INSERT_VECTOR_ELT()
2259 unsigned LoSize = Lo.getValueSizeInBits(); in ExpandIntRes_LOAD()
2632 unsigned ExcessBits = Op.getValueSizeInBits() - NVT.getSizeInBits(); in ExpandIntRes_SIGN_EXTEND()
2653 DAG.getConstant(Hi.getValueSizeInBits() - 1, dl, in ExpandIntRes_SIGN_EXTEND_INREG()
2658 unsigned ExcessBits = EVT.getSizeInBits() - Lo.getValueSizeInBits(); in ExpandIntRes_SIGN_EXTEND_INREG()
2862 unsigned ExcessBits = Op.getValueSizeInBits() - NVT.getSizeInBits(); in ExpandIntRes_ZERO_EXTEND()
DLegalizeDAG.cpp1493 if (SignBit.getValueSizeInBits() < ClearedSign.getValueSizeInBits()) { in ExpandFCOPYSIGN()
1504 if (SignBit.getValueSizeInBits() > ClearedSign.getValueSizeInBits()) { in ExpandFCOPYSIGN()
1705 unsigned SrcSize = SrcOp.getValueSizeInBits(); in EmitStackConvert()
3623 if (RType.getSizeInBits() < TopHalf.getValueSizeInBits()) in ExpandNode()
3626 assert(RType.getSizeInBits() == TopHalf.getValueSizeInBits() && in ExpandNode()
DStatepointLowering.cpp381 assert((MFI.getObjectSize(Index) * 8) == Incoming.getValueSizeInBits() && in spillIncomingStatepointValue()
DLegalizeTypesGeneric.cpp146 EVT::getIntegerVT(*DAG.getContext(), LHS.getValueSizeInBits() << 1), in ExpandRes_BITCAST()
DSelectionDAGISel.cpp2121 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); in CheckAndMask()
2150 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); in CheckOrMask()
3672 Res.getValueSizeInBits()) && in SelectCodeCommon()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp121 : Opcode(Op), BitSize(N.getValueSizeInBits()), in RxSBGOperands()
729 uint64_t Used = allOnes(Op.getValueSizeInBits()); in detectOrAndInsertion()
769 uint64_t BitSize = N.getValueSizeInBits(); in expandRxSBG()
845 unsigned InnerBitSize = N.getOperand(0).getValueSizeInBits(); in expandRxSBG()
857 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG()
858 unsigned InnerBitSize = N.getOperand(0).getValueSizeInBits(); in expandRxSBG()
878 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG()
905 unsigned BitSize = N.getValueSizeInBits(); in expandRxSBG()
1176 if (Store->getMemoryVT().getSizeInBits() != Value.getValueSizeInBits()) in tryScatter()
1540 unsigned ElemBitSize = Store->getValue().getValueSizeInBits(); in Select()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp23 unsigned SizeBitWidth = Size.getValueSizeInBits(); in EmitTargetCodeForMemcpy()
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaISelDAGToDAG.cpp93 APInt(LHS.getValueSizeInBits(), in get_zapImm()
/external/clang/lib/CodeGen/
DCGAtomic.cpp137 uint64_t getValueSizeInBits() const { return ValueSizeInBits; } in getValueSizeInBits() function in __anond5645c670111::AtomicInfo
1135 assert(Atomics.getValueSizeInBits() <= Atomics.getAtomicSizeInBits()); in EmitAtomicExpr()
1396 LVal.isSimple() ? getValueSizeInBits() : getAtomicSizeInBits()); in convertRValueToInt()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h131 unsigned getValueSizeInBits() const { in getValueSizeInBits() function
595 unsigned getValueSizeInBits(unsigned ResNo) const {
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3108 Mask = Mask.trunc(N0Op0.getValueSizeInBits()); in visitAND()
3130 N0.getValueSizeInBits() == N0.getOperand(0).getScalarValueSizeInBits() && in visitAND()
6267 if (!(KnownZero | APInt(Op.getValueSizeInBits(), 1)).isAllOnesValue()) in isTruncateOf()
6295 (Op.getValueSizeInBits() == N0.getValueSizeInBits()) ? in visitZERO_EXTEND()
6296 APInt(Op.getValueSizeInBits(), 0) : in visitZERO_EXTEND()
6297 APInt::getBitsSet(Op.getValueSizeInBits(), in visitZERO_EXTEND()
6298 N0.getValueSizeInBits(), in visitZERO_EXTEND()
6299 std::min(Op.getValueSizeInBits(), in visitZERO_EXTEND()
7210 GetDemandedBits(N0, APInt::getLowBitsSet(N0.getValueSizeInBits(), in visitTRUNCATE()
10293 unsigned BitWidth = Origin->getValueSizeInBits(0); in getUsedBits()
[all …]
DTargetLowering.cpp1427 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC()
1432 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
1443 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
1676 unsigned BitWidth = N0.getValueSizeInBits(); in SimplifySetCC()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsISelLowering.cpp2237 unsigned WidthX = Op.getOperand(0).getValueSizeInBits(); in lowerFCOPYSIGN64()
2238 unsigned WidthY = Op.getOperand(1).getValueSizeInBits(); in lowerFCOPYSIGN64()
2572 EVT FPTy = EVT::getFloatingPointVT(Val.getValueSizeInBits()); in lowerFP_TO_SINT_STORE()
2600 int FI = MFI.CreateFixedObject(Op.getValueSizeInBits() / 8, 0, false); in lowerEH_DWARF_CFA()
2606 EVT FPTy = EVT::getFloatingPointVT(Op.getValueSizeInBits()); in lowerFP_TO_SINT()
2798 int FI = MFI.CreateFixedObject(Arg.getValueSizeInBits() / 8, Offset, false); in passArgOnStack()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp2044 unsigned WidthX = Op.getOperand(0).getValueSizeInBits(); in lowerFCOPYSIGN64()
2045 unsigned WidthY = Op.getOperand(1).getValueSizeInBits(); in lowerFCOPYSIGN64()
2379 EVT FPTy = EVT::getFloatingPointVT(Val.getValueSizeInBits()); in lowerFP_TO_SINT_STORE()
2416 int FI = MFI->CreateFixedObject(Op.getValueSizeInBits() / 8, 0, false); in lowerADD()
2425 EVT FPTy = EVT::getFloatingPointVT(Op.getValueSizeInBits()); in lowerFP_TO_SINT()
2584 int FI = MFI->CreateFixedObject(Arg.getValueSizeInBits() / 8, Offset, false); in passArgOnStack()
DMipsSEISelDAGToDAG.cpp774 unsigned Size = CN->getValueSizeInBits(0); in trySelect()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h154 unsigned getValueSizeInBits() const {
737 unsigned getValueSizeInBits(unsigned ResNo) const {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h174 unsigned getValueSizeInBits() const {
972 unsigned getValueSizeInBits(unsigned ResNo) const {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp4050 unsigned Bytes = Arg.getValueSizeInBits() / 8; in MatchingStackOffset()
4126 if (VA.getLocVT().getSizeInBits() > Arg.getValueSizeInBits()) { in MatchingStackOffset()
5185 assert(Vec.getValueSizeInBits() < VT.getSizeInBits() && in widenSubVector()
6808 if ((NumElems * Elt.getValueSizeInBits()) != VT.getSizeInBits()) in EltsFromConsecutiveLoads()
7151 unsigned ScalarSize = Ld.getValueSizeInBits(); in lowerBuildVectorAsBroadcast()
7342 MVT VT = MVT::getIntegerVT(std::max((int)Op.getValueSizeInBits(), 8)); in ConvertI1VectorToInteger()
7374 if (Imm.getValueSizeInBits() == VT.getSizeInBits()) in LowerBUILD_VECTORvXi1()
7420 if (Imm.getValueSizeInBits() == VT.getSizeInBits()) in LowerBUILD_VECTORvXi1()
8031 if (SrcVec.getValueSizeInBits() != SizeInBits) { in createVariablePermute()
8032 if ((SrcVec.getValueSizeInBits() % SizeInBits) == 0) { in createVariablePermute()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2300 Mask = Mask.trunc(N0Op0.getValueSizeInBits()); in visitAND()
3571 N0.getValueSizeInBits() <= 64) { in visitSRL()
3572 uint64_t ShAmt = N1C->getZExtValue()+64-N0.getValueSizeInBits(); in visitSRL()
4881 GetDemandedBits(N0, APInt::getLowBitsSet(N0.getValueSizeInBits(), in visitTRUNCATE()
6311 NotMaskLZ -= 64-V.getValueSizeInBits(); in CheckForMaskedLoad()
6313 unsigned MaskedBytes = (V.getValueSizeInBits()-NotMaskLZ-NotMaskTZ)/8; in CheckForMaskedLoad()
6344 APInt Mask = ~APInt::getBitsSet(IVal.getValueSizeInBits(), in ShrinkLoadReplaceStoreWithStore()
6443 unsigned BitWidth = N1.getValueSizeInBits(); in ReduceLoadOpStoreWidth()
DSelectionDAGISel.cpp1248 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); in CheckAndMask()
1277 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); in CheckOrMask()
DTargetLowering.cpp1982 unsigned MinBits = N0.getValueSizeInBits(); in SimplifySetCC()
1986 MinBits = N0->getOperand(0).getValueSizeInBits(); in SimplifySetCC()
2174 unsigned BitWidth = N0.getValueSizeInBits(); in SimplifySetCC()

12