/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 65 assert(isLegalInHWReg(N->getValueType(ResNo)) && in SoftenFloatResult() 127 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_BITCAST() 142 N->getValueType(0)), in SoftenFloatRes_BUILD_PAIR() 149 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_ConstantFP() 154 CN->getValueType(0))); in SoftenFloatRes_ConstantFP() 160 NewOp.getValueType().getVectorElementType(), in SoftenFloatRes_EXTRACT_VECTOR_ELT() 166 if (isLegalInHWReg(N->getValueType(ResNo))) in SoftenFloatRes_FABS() 168 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FABS() 180 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FMINNUM() 183 return TLI.makeLibCall(DAG, GetFPLibCall(N->getValueType(0), in SoftenFloatRes_FMINNUM() [all …]
|
D | LegalizeVectorTypes.cpp | 149 LHS.getValueType(), LHS, RHS, N->getFlags()); in ScalarizeVecRes_BinOp() 157 Op0.getValueType(), Op0, Op1, Op2); in ScalarizeVecRes_TernaryOp() 167 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST() 173 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR() 183 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT() 186 Op0, DAG.getValueType(NewVT), in ScalarizeVecRes_CONVERT_RNDSAT() 187 DAG.getValueType(Op0.getValueType()), in ScalarizeVecRes_CONVERT_RNDSAT() 195 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR() 200 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND() 209 Op.getValueType(), Op, N->getOperand(1)); in ScalarizeVecRes_FPOWI() [all …]
|
D | LegalizeIntegerTypes.cpp | 42 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in PromoteIntegerResult() 171 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertSext() 178 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertZext() 182 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0() 211 EVT SVT = getSetCCResultType(N->getOperand(2).getValueType()); in PromoteIntRes_AtomicCmpSwap() 212 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(1)); in PromoteIntRes_AtomicCmpSwap() 219 SDVTList VTs = DAG.getVTList(N->getValueType(0), SVT, MVT::Other); in PromoteIntRes_AtomicCmpSwap() 233 DAG.getVTList(Op2.getValueType(), N->getValueType(1), MVT::Other); in PromoteIntRes_AtomicCmpSwap() 246 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST() 248 EVT OutVT = N->getValueType(0); in PromoteIntRes_BITCAST() [all …]
|
D | LegalizeTypesGeneric.cpp | 42 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST() 45 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 147 LHS.getValueType().getSizeInBits() << 1), in ExpandRes_BITCAST() 182 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST() 184 StackPtr.getValueType())); in ExpandRes_BITCAST() 209 assert(Part.getValueType() == N->getValueType(0) && in ExpandRes_EXTRACT_ELEMENT() 218 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT() 219 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT() 224 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT() 244 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, Idx); in ExpandRes_EXTRACT_VECTOR_ELT() [all …]
|
D | LegalizeTypes.cpp | 130 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(&Node)) { in PerformExpensiveChecks() 223 EVT ResultVT = N->getValueType(i); in run() 282 EVT OpVT = N->getOperand(i).getValueType(); in run() 425 if (!isTypeLegal(Node.getValueType(i)) && in run() 426 !TLI.isTypeLegal(Node.getValueType(i))) { in run() 435 !isTypeLegal(Node.getOperand(i).getValueType()) && in run() 436 !TLI.isTypeLegal(Node.getOperand(i).getValueType())) { in run() 753 assert(Result.getValueType() == in SetPromotedInteger() 754 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetPromotedInteger() 766 assert((Result.getValueType() == in SetSoftenedFloat() [all …]
|
D | LegalizeVectorOps.cpp | 205 switch (TLI.getLoadExtAction(LD->getExtensionType(), LD->getValueType(0), in LegalizeOp() 334 QueryType = Node->getValueType(0); in LegalizeOp() 341 QueryType = Node->getOperand(0).getValueType(); in LegalizeOp() 344 QueryType = cast<MaskedScatterSDNode>(Node)->getValue().getValueType(); in LegalizeOp() 347 QueryType = cast<MaskedStoreSDNode>(Node)->getValue().getValueType(); in LegalizeOp() 410 if (Op.getOperand(j).getValueType().isVector()) in Promote() 412 .getValueType() in Promote() 435 EVT VT = Op.getOperand(0).getValueType(); in PromoteINT_TO_FP() 455 if (Op.getOperand(j).getValueType().isVector()) in PromoteINT_TO_FP() 461 return DAG.getNode(Op.getOpcode(), dl, Op.getValueType(), Operands); in PromoteINT_TO_FP() [all …]
|
D | LegalizeDAG.cpp | 257 EVT VT = CFP->getValueType(0); in ExpandConstantFP() 301 EVT VT = CP->getValueType(0); in ExpandConstant() 321 EVT VT = Val.getValueType(); in ExpandUnalignedStore() 375 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedStore() 377 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, Increment); in ExpandUnalignedStore() 413 DAG.getConstant(NumBits, dl, TLI.getShiftAmountTy(Val.getValueType(), in ExpandUnalignedStore() 425 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, in ExpandUnalignedStore() 448 EVT VT = LD->getValueType(0); in ExpandUnalignedLoad() 498 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, Increment); in ExpandUnalignedLoad() 499 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedLoad() [all …]
|
D | TargetLowering.cpp | 98 Entry.Ty = Entry.Node.getValueType().getTypeForEVT(*DAG.getContext()); in makeLibCall() 99 Entry.isSExt = shouldSignExtendTypeInLibCall(Op.getValueType(), isSigned); in makeLibCall() 100 Entry.isZExt = !shouldSignExtendTypeInLibCall(Op.getValueType(), isSigned); in makeLibCall() 231 NewLHS = DAG.getNode(ISD::OR, dl, Tmp.getValueType(), Tmp, NewLHS); in softenSetCCOperands() 316 EVT VT = Op.getValueType(); in ShrinkDemandedConstant() 346 if (Op.getValueType().isVector()) in ShrinkDemandedOp() 363 if (TLI.isTruncateFree(Op.getValueType(), SmallVT) && in ShrinkDemandedOp() 364 TLI.isZExtFree(SmallVT, Op.getValueType())) { in ShrinkDemandedOp() 373 dl, Op.getValueType(), X); in ShrinkDemandedOp() 394 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth && in SimplifyDemandedBits() [all …]
|
D | DAGCombiner.cpp | 183 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); in SimplifyDemandedBits() 593 !TLI.isOperationLegalOrCustom(ISD::FSUB, Op.getValueType())) in isNegatibleForFree() 649 return DAG.getConstantFP(V, SDLoc(Op), Op.getValueType()); in GetNegatedExpression() 658 return DAG.getNode(ISD::FSUB, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 663 return DAG.getNode(ISD::FSUB, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 677 return DAG.getNode(ISD::FSUB, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 687 return DAG.getNode(Op.getOpcode(), SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 693 return DAG.getNode(Op.getOpcode(), SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 700 return DAG.getNode(Op.getOpcode(), SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 704 return DAG.getNode(ISD::FP_ROUND, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() [all …]
|
D | SelectionDAG.cpp | 124 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); in isBuildVectorAllOnes() 167 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); in isBuildVectorAllZeros() 516 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom() 575 if (N->getValueType(0) == MVT::Glue) in doNotCSE() 587 if (N->getValueType(i) == MVT::Glue) in doNotCSE() 705 EVT VT = N->getValueType(0); in VerifySDNode() 710 assert(N->getOperand(0).getValueType() == N->getOperand(1).getValueType() && in VerifySDNode() 712 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifySDNode() 720 assert(N->getValueType(0).isVector() && "Wrong return type!"); in VerifySDNode() 721 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifySDNode() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 535 N->getValueType(0) == MVT::i32 && selectMADD(N, &DAG)) in performADDECombine() 669 EVT Ty = N->getValueType(0); in performORCombine() 789 if (Subtarget.hasMips32() && N->getValueType(0) == MVT::i32 && in performSUBECombine() 837 EVT VT = N->getValueType(0); in performMULCombine() 876 EVT Ty = N->getValueType(0); in performSHLCombine() 899 EVT Ty = N->getValueType(0); in performSRACombine() 945 EVT Ty = N->getValueType(0); in performSRLCombine() 972 EVT Ty = N->getValueType(0); in performSETCCCombine() 985 EVT Ty = N->getValueType(0); in performVSELECTCombine() 1042 EVT Ty = N->getValueType(0); in performXORCombine() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelDAGToDAG.cpp | 119 : Opcode(Op), BitSize(N.getValueType().getSizeInBits()), in RxSBGOperands() 137 return CurDAG->getTargetConstant(Imm, SDLoc(Node), Node->getValueType(0)); in getImm() 604 } else if (Base.getValueType() != VT) { in getAddressOperands() 606 assert(VT == MVT::i32 && Base.getValueType() == MVT::i64 && in getAddressOperands() 637 getAddressOperands(AM, Addr.getValueType(), Base, Disp); in selectBDAddr() 648 getAddressOperands(AM, Addr.getValueType(), Base, Disp); in selectMVIAddr() 660 getAddressOperands(AM, Addr.getValueType(), Base, Disp, Index); in selectBDXAddr() 707 uint64_t Used = allOnes(Op.getValueType().getSizeInBits()); in detectOrAndInsertion() 794 if (RxSBG.BitSize != 64 || N.getValueType() != MVT::i64) in expandRxSBG() 813 unsigned InnerBitSize = N.getOperand(0).getValueType().getSizeInBits(); in expandRxSBG() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 777 MVT VT = Op.getOperand(1).getValueType().getSimpleVT(); in computeKnownBitsForTargetNode() 1178 EVT VT = LHS.getValueType(); in emitComparison() 1264 if (LHS.getValueType().isFloatingPoint()) in emitConditionalComparison() 1337 bool isInteger = LHS.getValueType().isInteger(); in emitConjunctionDisjunctionTree() 1345 assert(LHS.getValueType().isFloatingPoint()); in emitConjunctionDisjunctionTree() 1438 EVT VT = RHS.getValueType(); in getAArch64Cmp() 1519 DAG.getNode(ISD::SIGN_EXTEND_INREG, dl, LHS.getValueType(), LHS, in getAArch64Cmp() 1520 DAG.getValueType(MVT::i16)); in getAArch64Cmp() 1522 RHS.getValueType()), in getAArch64Cmp() 1546 assert((Op.getValueType() == MVT::i32 || Op.getValueType() == MVT::i64) && in getAArch64XALUOOp() [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
D | Chain.java | 45 public Class<?> getValueType() { in root() 84 public abstract @Nonnull Class<?> getValueType(); 107 return getValueType().isPrimitive(); 168 public Class<?> getValueType() { 196 public Class<?> getValueType() {
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1241 if (N->getValueType(0) != MVT::v16i8) in isVMerge() 1351 if (N->getValueType(0) != MVT::v16i8) in isVMerge() 1409 if (N->getValueType(0) != MVT::v16i8) in isVSLDOIShuffleMask() 1452 assert(N->getValueType(0) == MVT::v16i8 && in isSplatShuffleMask() 1574 assert(CN->getValueType(0) == MVT::f32 && "Only one legal FP vector type!"); in get_VSPLTI_elt() 1603 EVT VT = N->getValueType(0); in isQVALIGNIShuffleMask() 1643 if (N->getValueType(0) == MVT::i32) in isIntS16Immediate() 1754 Disp = DAG.getTargetConstant(imm, dl, N.getValueType()); in SelectAddressRegImm() 1756 Base = DAG.getTargetFrameIndex(FI->getIndex(), N.getValueType()); in SelectAddressRegImm() 1757 fixupFuncForFI(DAG, FI->getIndex(), N.getValueType()); in SelectAddressRegImm() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 162 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; in EmitTargetCodeForMemset() 168 EVT CVT = Count.getValueType(); in EmitTargetCodeForMemset() 176 SDValue Ops[] = { Chain, DAG.getValueType(MVT::i8), InFlag }; in EmitTargetCodeForMemset() 181 EVT AddrVT = Dst.getValueType(); in EmitTargetCodeForMemset() 182 EVT SizeVT = Size.getValueType(); in EmitTargetCodeForMemset() 259 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; in EmitTargetCodeForMemcpy() 267 EVT DstVT = Dst.getValueType(); in EmitTargetCodeForMemcpy() 268 EVT SrcVT = Src.getValueType(); in EmitTargetCodeForMemcpy() 269 EVT SizeVT = Size.getValueType(); in EmitTargetCodeForMemcpy()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
D | BaseNullEncodedValue.java | 55 return Ints.compare(getValueType(), o.getValueType()); in compareTo() 58 public int getValueType() { return ValueType.NULL; } in getValueType() method in BaseNullEncodedValue
|
D | BaseTypeEncodedValue.java | 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 63 public int getValueType() { return ValueType.TYPE; } in getValueType() method in BaseTypeEncodedValue
|
D | BaseStringEncodedValue.java | 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 63 public int getValueType() { return ValueType.STRING; } in getValueType() method in BaseStringEncodedValue
|
D | BaseFieldEncodedValue.java | 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 63 public int getValueType() { return ValueType.FIELD; } in getValueType() method in BaseFieldEncodedValue
|
D | BaseByteEncodedValue.java | 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 63 public int getValueType() { return ValueType.BYTE; } in getValueType() method in BaseByteEncodedValue
|
D | BaseIntEncodedValue.java | 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 63 public int getValueType() { return ValueType.INT; } in getValueType() method in BaseIntEncodedValue
|
D | BaseMethodEncodedValue.java | 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 63 public int getValueType() { return ValueType.METHOD; } in getValueType() method in BaseMethodEncodedValue
|
D | BaseEnumEncodedValue.java | 58 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 63 public int getValueType() { return ValueType.ENUM; } in getValueType() method in BaseEnumEncodedValue
|
D | BaseCharEncodedValue.java | 59 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 64 public int getValueType() { return ValueType.CHAR; } in getValueType() method in BaseCharEncodedValue
|