/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 126 N->getValueType(0)), in SoftenFloatRes_BUILD_PAIR() 134 N->getValueType(0))); in SoftenFloatRes_ConstantFP() 140 NewOp.getValueType().getVectorElementType(), in SoftenFloatRes_EXTRACT_VECTOR_ELT() 145 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FABS() 157 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FADD() 160 return TLI.makeLibCall(DAG, GetFPLibCall(N->getValueType(0), in SoftenFloatRes_FADD() 170 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FCEIL() 172 return TLI.makeLibCall(DAG, GetFPLibCall(N->getValueType(0), in SoftenFloatRes_FCEIL() 186 EVT LVT = LHS.getValueType(); in SoftenFloatRes_FCOPYSIGN() 187 EVT RVT = RHS.getValueType(); in SoftenFloatRes_FCOPYSIGN() [all …]
|
D | LegalizeIntegerTypes.cpp | 42 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in PromoteIntegerResult() 161 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertSext() 168 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertZext() 172 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0() 201 EVT SVT = getSetCCResultType(N->getOperand(2).getValueType()); in PromoteIntRes_AtomicCmpSwap() 202 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(1)); in PromoteIntRes_AtomicCmpSwap() 209 SDVTList VTs = DAG.getVTList(N->getValueType(0), SVT, MVT::Other); in PromoteIntRes_AtomicCmpSwap() 223 DAG.getVTList(Op2.getValueType(), N->getValueType(1), MVT::Other); in PromoteIntRes_AtomicCmpSwap() 237 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST() 239 EVT OutVT = N->getValueType(0); in PromoteIntRes_BITCAST() [all …]
|
D | LegalizeVectorTypes.cpp | 139 LHS.getValueType(), LHS, RHS); in ScalarizeVecRes_BinOp() 147 Op0.getValueType(), Op0, Op1, Op2); in ScalarizeVecRes_TernaryOp() 157 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST() 163 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR() 173 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT() 176 Op0, DAG.getValueType(NewVT), in ScalarizeVecRes_CONVERT_RNDSAT() 177 DAG.getValueType(Op0.getValueType()), in ScalarizeVecRes_CONVERT_RNDSAT() 185 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR() 190 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND() 199 Op.getValueType(), Op, N->getOperand(1)); in ScalarizeVecRes_FPOWI() [all …]
|
D | LegalizeTypesGeneric.cpp | 42 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST() 45 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 137 LHS.getValueType().getSizeInBits() << 1), in ExpandRes_BITCAST() 172 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST() 174 StackPtr.getValueType())); in ExpandRes_BITCAST() 199 assert(Part.getValueType() == N->getValueType(0) && in ExpandRes_EXTRACT_ELEMENT() 208 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT() 209 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT() 214 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT() 234 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, Idx); in ExpandRes_EXTRACT_VECTOR_ELT() [all …]
|
D | LegalizeTypes.cpp | 131 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(I)) { in PerformExpensiveChecks() 225 EVT ResultVT = N->getValueType(i); in run() 276 EVT OpVT = N->getOperand(i).getValueType(); in run() 411 if (!isTypeLegal(I->getValueType(i))) { in run() 419 !isTypeLegal(I->getOperand(i).getValueType())) { in run() 735 assert(Result.getValueType() == in SetPromotedInteger() 736 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetPromotedInteger() 746 assert(Result.getValueType() == in SetSoftenedFloat() 747 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetSoftenedFloat() 760 assert(Result.getValueType().getSizeInBits() >= in SetScalarizedVector() [all …]
|
D | LegalizeDAG.cpp | 263 EVT VT = CFP->getValueType(0); in ExpandConstantFP() 313 EVT VT = Val.getValueType(); in ExpandUnalignedStore() 366 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedStore() 368 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, Increment); in ExpandUnalignedStore() 404 TLI.getShiftAmountTy(Val.getValueType())); in ExpandUnalignedStore() 414 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, in ExpandUnalignedStore() 436 EVT VT = LD->getValueType(0); in ExpandUnalignedLoad() 485 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, Increment); in ExpandUnalignedLoad() 486 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedLoad() 542 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, in ExpandUnalignedLoad() [all …]
|
D | LegalizeVectorOps.cpp | 300 QueryType = Node->getValueType(0); in LegalizeOp() 307 QueryType = Node->getOperand(0).getValueType(); in LegalizeOp() 367 if (Op.getOperand(j).getValueType().isVector()) in Promote() 381 EVT VT = Op.getOperand(0).getValueType(); in PromoteINT_TO_FP() 401 if (Op.getOperand(j).getValueType().isVector()) in PromoteINT_TO_FP() 407 return DAG.getNode(Op.getOpcode(), dl, Op.getValueType(), Operands); in PromoteINT_TO_FP() 417 EVT VT = Op.getValueType(); in PromoteFP_TO_INT() 453 EVT DstEltVT = Op.getNode()->getValueType(0).getScalarType(); in ExpandLoad() 499 BasePTR = DAG.getNode(ISD::ADD, dl, BasePTR.getValueType(), BasePTR, in ExpandLoad() 500 DAG.getConstant(LoadBytes, BasePTR.getValueType())); in ExpandLoad() [all …]
|
D | TargetLowering.cpp | 98 Entry.Ty = Entry.Node.getValueType().getTypeForEVT(*DAG.getContext()); in makeLibCall() 214 NewLHS = DAG.getNode(ISD::OR, dl, Tmp.getValueType(), Tmp, NewLHS); in softenSetCCOperands() 301 EVT VT = Op.getValueType(); in ShrinkDemandedConstant() 331 if (Op.getValueType().isVector()) in ShrinkDemandedOp() 348 if (TLI.isTruncateFree(Op.getValueType(), SmallVT) && in ShrinkDemandedOp() 349 TLI.isZExtFree(SmallVT, Op.getValueType())) { in ShrinkDemandedOp() 358 dl, Op.getValueType(), X); in ShrinkDemandedOp() 379 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth && in SimplifyDemandedBits() 401 return TLO.CombineTo(Op, TLO.DAG.getUNDEF(Op.getValueType())); in SimplifyDemandedBits() 449 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, Op.getValueType())); in SimplifyDemandedBits() [all …]
|
D | DAGCombiner.cpp | 161 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); in SimplifyDemandedBits() 473 !TLI.isOperationLegalOrCustom(ISD::FSUB, Op.getValueType())) in isNegatibleForFree() 526 return DAG.getConstantFP(V, Op.getValueType()); in GetNegatedExpression() 536 return DAG.getNode(ISD::FSUB, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 541 return DAG.getNode(ISD::FSUB, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 555 return DAG.getNode(ISD::FSUB, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 566 return DAG.getNode(Op.getOpcode(), SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 572 return DAG.getNode(Op.getOpcode(), SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 579 return DAG.getNode(Op.getOpcode(), SDLoc(Op), Op.getValueType(), in GetNegatedExpression() 583 return DAG.getNode(ISD::FP_ROUND, SDLoc(Op), Op.getValueType(), in GetNegatedExpression() [all …]
|
D | SelectionDAG.cpp | 121 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); in isBuildVectorAllOnes() 165 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); in isBuildVectorAllZeros() 533 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom() 590 if (N->getValueType(0) == MVT::Glue) in doNotCSE() 602 if (N->getValueType(i) == MVT::Glue) in doNotCSE() 750 if (!Erased && N->getValueType(N->getNumValues()-1) != MVT::Glue && in RemoveNodeFromCSEMaps() 849 EVT VT = N->getValueType(0); in VerifyNodeCommon() 854 assert(N->getOperand(0).getValueType() == N->getOperand(1).getValueType() && in VerifyNodeCommon() 856 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifyNodeCommon() 864 assert(N->getValueType(0).isVector() && "Wrong return type!"); in VerifyNodeCommon() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 531 N->getValueType(0) == MVT::i32 && selectMADD(N, &DAG)) in performADDECombine() 666 EVT Ty = N->getValueType(0); in performORCombine() 786 if (Subtarget->hasMips32() && N->getValueType(0) == MVT::i32 && in performSUBECombine() 834 EVT VT = N->getValueType(0); in performMULCombine() 871 EVT Ty = N->getValueType(0); in performSHLCombine() 894 EVT Ty = N->getValueType(0); in performSRACombine() 941 EVT Ty = N->getValueType(0); in performSRLCombine() 968 EVT Ty = N->getValueType(0); in performSETCCCombine() 981 EVT Ty = N->getValueType(0); in performVSELECTCombine() 1038 EVT Ty = N->getValueType(0); in performXORCombine() [all …]
|
/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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | BaseShortEncodedValue.java | 59 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 64 public int getValueType() { return ValueType.SHORT; } in getValueType() method in BaseShortEncodedValue
|
D | BaseBooleanEncodedValue.java | 59 int res = Ints.compare(getValueType(), o.getValueType()); in compareTo() 64 public int getValueType() { return ValueType.BOOLEAN; } in getValueType() method in BaseBooleanEncodedValue
|
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
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 141 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; in EmitTargetCodeForMemset() 147 EVT CVT = Count.getValueType(); in EmitTargetCodeForMemset() 155 SDValue Ops[] = { Chain, DAG.getValueType(MVT::i8), InFlag }; in EmitTargetCodeForMemset() 160 EVT AddrVT = Dst.getValueType(); in EmitTargetCodeForMemset() 161 EVT SizeVT = Size.getValueType(); in EmitTargetCodeForMemset() 244 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; in EmitTargetCodeForMemcpy() 252 EVT DstVT = Dst.getValueType(); in EmitTargetCodeForMemcpy() 253 EVT SrcVT = Src.getValueType(); in EmitTargetCodeForMemcpy() 254 EVT SizeVT = Size.getValueType(); in EmitTargetCodeForMemcpy()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 610 MVT VT = Op.getOperand(1).getValueType().getSimpleVT(); in computeKnownBitsForTargetNode() 979 EVT VT = LHS.getValueType(); in emitComparison() 1023 EVT VT = RHS.getValueType(); in getAArch64Cmp() 1085 assert((Op.getValueType() == MVT::i32 || Op.getValueType() == MVT::i64) && in getAArch64XALUOOp() 1116 if (Op.getValueType() == MVT::i32) { in getAArch64XALUOOp() 1163 assert(Op.getValueType() == MVT::i64 && "Expected an i64 value type"); in getAArch64XALUOOp() 1187 SDVTList VTs = DAG.getVTList(Op->getValueType(0), MVT::i32); in getAArch64XALUOOp() 1231 if (LHS.getValueType() != MVT::i32 && LHS.getValueType() != MVT::i64) in LowerXOR() 1255 TVal = DAG.getNode(ISD::XOR, dl, Other.getValueType(), Other, in LowerXOR() 1256 DAG.getConstant(-1ULL, Other.getValueType())); in LowerXOR() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 904 if (N->getValueType(0) != MVT::v16i8) in isVMerge() 954 if (N->getValueType(0) != MVT::v16i8) in isVSLDOIShuffleMask() 1010 assert(N->getValueType(0) == MVT::v16i8 && in isSplatShuffleMask() 1143 assert(CN->getValueType(0) == MVT::f32 && "Only one legal FP vector type!"); in get_VSPLTI_elt() 1189 if (N->getValueType(0) == MVT::i32) in isIntS16Immediate() 1301 Disp = DAG.getTargetConstant(imm, N.getValueType()); in SelectAddressRegImm() 1303 Base = DAG.getTargetFrameIndex(FI->getIndex(), N.getValueType()); in SelectAddressRegImm() 1304 fixupFuncForFI(DAG, FI->getIndex(), N.getValueType()); in SelectAddressRegImm() 1335 Disp = DAG.getTargetConstant(imm, N.getValueType()); in SelectAddressRegImm() 1346 Disp = DAG.getTargetConstant(Imm, CN->getValueType(0)); in SelectAddressRegImm() [all …]
|