Home
last modified time | relevance | path

Searched refs:getValueType (Results 1 – 25 of 122) sorted by relevance

12345

/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp121 N->getValueType(0)), in SoftenFloatRes_BUILD_PAIR()
129 N->getValueType(0))); in SoftenFloatRes_ConstantFP()
135 NewOp.getValueType().getVectorElementType(), in SoftenFloatRes_EXTRACT_VECTOR_ELT()
140 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FABS()
152 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FADD()
155 return MakeLibCall(GetFPLibCall(N->getValueType(0), in SoftenFloatRes_FADD()
164 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FCEIL()
166 return MakeLibCall(GetFPLibCall(N->getValueType(0), in SoftenFloatRes_FCEIL()
179 EVT LVT = LHS.getValueType(); in SoftenFloatRes_FCOPYSIGN()
180 EVT RVT = RHS.getValueType(); in SoftenFloatRes_FCOPYSIGN()
[all …]
DLegalizeVectorTypes.cpp132 LHS.getValueType(), LHS, RHS); in ScalarizeVecRes_BinOp()
140 Op0.getValueType(), Op0, Op1, Op2); in ScalarizeVecRes_TernaryOp()
150 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST()
156 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR()
166 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT()
169 Op0, DAG.getValueType(NewVT), in ScalarizeVecRes_CONVERT_RNDSAT()
170 DAG.getValueType(Op0.getValueType()), in ScalarizeVecRes_CONVERT_RNDSAT()
178 N->getValueType(0).getVectorElementType(), in ScalarizeVecRes_EXTRACT_SUBVECTOR()
183 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND()
192 Op.getValueType(), Op, N->getOperand(1)); in ScalarizeVecRes_FPOWI()
[all …]
DLegalizeIntegerTypes.cpp40 if (CustomLowerNode(N, N->getValueType(ResNo), true)) in PromoteIntegerResult()
157 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertSext()
164 Op.getValueType(), Op, N->getOperand(1)); in PromoteIntRes_AssertZext()
168 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0()
208 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST()
210 EVT OutVT = N->getValueType(0); in PromoteIntRes_BITCAST()
265 EVT OVT = N->getValueType(0); in PromoteIntRes_BSWAP()
266 EVT NVT = Op.getValueType(); in PromoteIntRes_BSWAP()
279 N->getValueType(0)), JoinIntegers(N->getOperand(0), in PromoteIntRes_BUILD_PAIR()
284 EVT VT = N->getValueType(0); in PromoteIntRes_Constant()
[all …]
DLegalizeTypesGeneric.cpp40 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST()
43 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST()
135 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST()
161 assert(Part.getValueType() == N->getValueType(0) && in ExpandRes_EXTRACT_ELEMENT()
170 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT()
171 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT()
176 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT()
197 if (Idx.getValueType().bitsLT(TLI.getPointerTy())) in ExpandRes_EXTRACT_VECTOR_ELT()
200 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, Idx); in ExpandRes_EXTRACT_VECTOR_ELT()
203 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, in ExpandRes_EXTRACT_VECTOR_ELT()
[all …]
DLegalizeTypes.cpp129 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(I)) { in PerformExpensiveChecks()
223 EVT ResultVT = N->getValueType(i); in run()
274 EVT OpVT = N->getOperand(i).getValueType(); in run()
409 if (!isTypeLegal(I->getValueType(i))) { in run()
417 !isTypeLegal(I->getOperand(i).getValueType())) { in run()
730 assert(Result.getValueType() == in SetPromotedInteger()
731 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetPromotedInteger()
741 assert(Result.getValueType() == in SetSoftenedFloat()
742 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && in SetSoftenedFloat()
755 assert(Result.getValueType().getSizeInBits() >= in SetScalarizedVector()
[all …]
DLegalizeVectorOps.cpp145 EVT ValVT = ST->getValue().getValueType(); in LegalizeOp()
226 QueryType = Node->getValueType(0); in LegalizeOp()
233 QueryType = Node->getOperand(0).getValueType(); in LegalizeOp()
294 EVT VT = Op.getValueType(); in PromoteVectorOp()
302 if (Op.getOperand(j).getValueType().isVector()) in PromoteVectorOp()
316 EVT VT = Op.getOperand(0).getValueType(); in PromoteVectorOpINT_TO_FP()
341 if (Op.getOperand(j).getValueType().isVector()) in PromoteVectorOpINT_TO_FP()
347 return DAG.getNode(Op.getOpcode(), dl, Op.getValueType(), &Operands[0], in PromoteVectorOpINT_TO_FP()
367 Op.getNode()->getValueType(0).getScalarType(), in ExpandLoad()
373 BasePTR = DAG.getNode(ISD::ADD, dl, BasePTR.getValueType(), BasePTR, in ExpandLoad()
[all …]
DLegalizeDAG.cpp255 EVT VT = CFP->getValueType(0); in ExpandConstantFP()
305 EVT VT = Val.getValueType(); in ExpandUnalignedStore()
356 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedStore()
358 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, Increment); in ExpandUnalignedStore()
395 TLI.getShiftAmountTy(Val.getValueType())); in ExpandUnalignedStore()
404 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, in ExpandUnalignedStore()
426 EVT VT = LD->getValueType(0); in ExpandUnalignedLoad()
476 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, Increment); in ExpandUnalignedLoad()
477 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedLoad()
533 Ptr = DAG.getNode(ISD::ADD, dl, Ptr.getValueType(), Ptr, in ExpandUnalignedLoad()
[all …]
DDAGCombiner.cpp137 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); in SimplifyDemandedBits()
389 if (Op.getValueType() == MVT::ppcf128) in isNegatibleForFree()
413 !TLI.isOperationLegalOrCustom(ISD::FSUB, Op.getValueType())) in isNegatibleForFree()
466 return DAG.getConstantFP(V, Op.getValueType()); in GetNegatedExpression()
476 return DAG.getNode(ISD::FSUB, Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression()
481 return DAG.getNode(ISD::FSUB, Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression()
495 return DAG.getNode(ISD::FSUB, Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression()
506 return DAG.getNode(Op.getOpcode(), Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression()
512 return DAG.getNode(Op.getOpcode(), Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression()
519 return DAG.getNode(Op.getOpcode(), Op.getDebugLoc(), Op.getValueType(), in GetNegatedExpression()
[all …]
DTargetLowering.cpp1123 EVT VT = Op.getValueType(); in ShrinkDemandedConstant()
1165 if (TLI.isTruncateFree(Op.getValueType(), SmallVT) && in ShrinkDemandedOp()
1166 TLI.isZExtFree(SmallVT, Op.getValueType())) { in ShrinkDemandedOp()
1173 SDValue Z = DAG.getNode(ISD::ZERO_EXTEND, dl, Op.getValueType(), X); in ShrinkDemandedOp()
1194 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth && in SimplifyDemandedBits()
1216 return TLO.CombineTo(Op, TLO.DAG.getUNDEF(Op.getValueType())); in SimplifyDemandedBits()
1264 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, Op.getValueType())); in SimplifyDemandedBits()
1335 return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::OR, dl, Op.getValueType(), in SimplifyDemandedBits()
1351 EVT VT = Op.getValueType(); in SimplifyDemandedBits()
1366 EVT VT = Op.getValueType(); in SimplifyDemandedBits()
[all …]
DSelectionDAG.cpp138 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); in isBuildVectorAllOnes()
490 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom()
545 if (N->getValueType(0) == MVT::Glue) in doNotCSE()
557 if (N->getValueType(i) == MVT::Glue) in doNotCSE()
708 if (!Erased && N->getValueType(N->getNumValues()-1) != MVT::Glue && in RemoveNodeFromCSEMaps()
808 EVT VT = N->getValueType(0); in VerifyNodeCommon()
813 assert(N->getOperand(0).getValueType() == N->getOperand(1).getValueType() && in VerifyNodeCommon()
815 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifyNodeCommon()
823 assert(N->getValueType(0).isVector() && "Wrong return type!"); in VerifyNodeCommon()
824 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifyNodeCommon()
[all …]
DSelectionDAGBuilder.cpp155 DAG.getConstant(Lo.getValueType().getSizeInBits(), in getCopyFromParts()
180 PartVT = Val.getValueType(); in getCopyFromParts()
192 DAG.getValueType(ValueVT)); in getCopyFromParts()
200 if (ValueVT.bitsLT(Val.getValueType())) in getCopyFromParts()
236 assert(RegisterVT == Parts[0].getValueType() && in getCopyFromPartsVector()
266 PartVT = Val.getValueType(); in getCopyFromPartsVector()
330 EVT ValueVT = Val.getValueType(); in getCopyToParts()
381 ValueVT = Val.getValueType(); in getCopyToParts()
448 EVT ValueVT = Val.getValueType(); in getCopyToPartsVector()
721 RegisterVT, P, DAG.getValueType(FromVT)); in getCopyFromRegs()
[all …]
DInstrEmitter.cpp44 while (N && Node->getValueType(N - 1) == MVT::Glue) in CountResults()
46 if (N && Node->getValueType(N - 1) == MVT::Other) in CountResults()
61 while (N && Node->getOperand(N - 1).getValueType() == MVT::Glue) in countOperands()
63 if (N && Node->getOperand(N - 1).getValueType() == MVT::Other) in countOperands()
102 EVT VT = Node->getValueType(ResNo); in EmitCopyFromReg()
127 EVT VT = Node->getValueType(Op.getResNo()); in EmitCopyFromReg()
275 const TargetRegisterClass *RC = TLI->getRegClassFor(Op.getValueType()); in getVR()
298 assert(Op.getValueType() != MVT::Other && in AddRegisterOperand()
299 Op.getValueType() != MVT::Glue && in AddRegisterOperand()
421 assert(Op.getValueType() != MVT::Other && in AddOperand()
[all …]
DSelectionDAGISel.cpp520 if (N->getOperand(i).getValueType() == MVT::Other) in ComputeLiveOutVRegInfo()
533 EVT SrcVT = Src.getValueType(); in ComputeLiveOutVRegInfo()
1496 if (InOps[e-1].getValueType() == MVT::Glue) in SelectInlineAsmMemoryOperands()
1566 if (Use->getOperand(i).getValueType() == MVT::Other && IgnoreChains) in findNonImmUse()
1643 EVT VT = Root->getValueType(Root->getNumValues()-1); in IsLegalToFold()
1649 VT = Root->getValueType(Root->getNumValues()-1); in IsLegalToFold()
1677 return CurDAG->SelectNodeTo(N, TargetOpcode::IMPLICIT_DEF,N->getValueType(0)); in Select_UNDEF()
1728 if (ChainVal.getValueType() == MVT::Glue) in UpdateChainsAndGlue()
1730 assert(ChainVal.getValueType() == MVT::Other && "Not a chain?"); in UpdateChainsAndGlue()
1751 assert(FRN->getValueType(FRN->getNumValues()-1) == MVT::Glue && in UpdateChainsAndGlue()
[all …]
/external/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp143 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; in EmitTargetCodeForMemset()
149 EVT CVT = Count.getValueType(); in EmitTargetCodeForMemset()
157 SDValue Ops[] = { Chain, DAG.getValueType(MVT::i8), InFlag }; in EmitTargetCodeForMemset()
162 EVT AddrVT = Dst.getValueType(); in EmitTargetCodeForMemset()
163 EVT SizeVT = Size.getValueType(); in EmitTargetCodeForMemset()
237 SDValue Ops[] = { Chain, DAG.getValueType(AVT), InFlag }; in EmitTargetCodeForMemcpy()
246 EVT DstVT = Dst.getValueType(); in EmitTargetCodeForMemcpy()
247 EVT SrcVT = Src.getValueType(); in EmitTargetCodeForMemcpy()
248 EVT SizeVT = Size.getValueType(); in EmitTargetCodeForMemcpy()
DX86ISelLowering.cpp68 EVT VT = Vec.getValueType(); in Extract128BitVector()
107 EVT VT = Vec.getValueType(); in Insert128BitVector()
111 EVT ResultVT = Result.getValueType(); in Insert128BitVector()
1518 EVT ValVT = ValToCopy.getValueType(); in LowerReturn()
1618 if (Copy->getOperand(Copy->getNumOperands()-1).getValueType() == MVT::Glue) in isUsedByReturnOnly()
1919 DAG.getValueType(VA.getValVT())); in LowerFormalArguments()
1922 DAG.getValueType(VA.getValVT())); in LowerFormalArguments()
2545 RegsToPass[i].second.getValueType())); in LowerCall()
2663 unsigned Bytes = Arg.getValueType().getSizeInBits() / 8; in MatchingStackOffset()
3076 RHS = DAG.getConstant(0, RHS.getValueType()); in TranslateX86CC()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp280 if (N->getValueType(0) == MVT::i32) in isIntS16Immediate()
294 if (N->getOpcode() == ISD::Constant && N->getValueType(0) == MVT::i32) { in isInt32Immediate()
304 if (N->getOpcode() == ISD::Constant && N->getValueType(0) == MVT::i64) { in isInt64Immediate()
352 if (N->getValueType(0) != MVT::i32) in isRotateAndMask()
467 if (LHS.getValueType() == MVT::i32) { in SelectCC()
508 } else if (LHS.getValueType() == MVT::i64) { in SelectCC()
551 } else if (LHS.getValueType() == MVT::f32) { in SelectCC()
554 assert(LHS.getValueType() == MVT::f64 && "Unknown vt!"); in SelectCC()
760 if (N->getValueType(0) == MVT::i64) { in Select()
841 SDValue TFI = CurDAG->getTargetFrameIndex(FI, N->getValueType(0)); in Select()
[all …]
DPPCISelLowering.cpp606 assert(N->getValueType(0) == MVT::v16i8 && in isVMerge()
644 assert(N->getValueType(0) == MVT::v16i8 && in isVSLDOIShuffleMask()
680 assert(N->getValueType(0) == MVT::v16i8 && in isSplatShuffleMask()
809 assert(CN->getValueType(0) == MVT::f32 && "Only one legal FP vector type!"); in get_VSPLTI_elt()
855 if (N->getValueType(0) == MVT::i32) in isIntS16Immediate()
926 Base = DAG.getTargetFrameIndex(FI->getIndex(), N.getValueType()); in SelectAddressRegImm()
967 Disp = DAG.getTargetConstant(Imm, CN->getValueType(0)); in SelectAddressRegImm()
969 CN->getValueType(0)); in SelectAddressRegImm()
974 if (CN->getValueType(0) == MVT::i32 || in SelectAddressRegImm()
982 unsigned Opc = CN->getValueType(0) == MVT::i32 ? PPC::LIS : PPC::LIS8; in SelectAddressRegImm()
[all …]
/external/llvm/lib/Target/MBlaze/
DMBlazeISelDAGToDAG.cpp106 if (N->getValueType(0) == MVT::i32) in isIntS32Immediate()
158 Base = CurDAG->getTargetFrameIndex(FI->getIndex(), N.getValueType()); in SelectAddrRegImm()
167 Disp = CurDAG->getTargetConstant(Imm, CN->getValueType(0)); in SelectAddrRegImm()
168 Base = CurDAG->getRegister(MBlaze::R0, CN->getValueType(0)); in SelectAddrRegImm()
174 Base = CurDAG->getTargetFrameIndex(FI->getIndex(), N.getValueType()); in SelectAddrRegImm()
211 EVT VT = Node->getValueType(0); in Select()
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/
DEncodedValue.java94 int comp = getValueType().compareTo(o.getValueType()); in compareTo()
112 public abstract ValueType getValueType(); in getValueType() method in EncodedValue
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp328 LD->getValueType(0), in SelectBaseOffsetLoad()
359 N1.getNode()->getValueType(0) == MVT::i32) { in SelectIndexedLoadSignExtend64()
423 N1.getNode()->getValueType(0) == MVT::i32) { in SelectIndexedLoadZeroExtend64()
524 if (LD->getValueType(0) == MVT::i64 && in SelectIndexedLoad()
528 if (LD->getValueType(0) == MVT::i64 && in SelectIndexedLoad()
536 LD->getValueType(0), in SelectIndexedLoad()
556 LD->getValueType(0), in SelectIndexedLoad()
678 !(Value.getValueType() == MVT::i64 && ST->isTruncatingStore())) { in SelectBaseOffsetStore()
745 if (N->getValueType(0) == MVT::i64) { in SelectMul()
756 if (Sext0.getNode()->getValueType(0) != MVT::i32) { in SelectMul()
[all …]
/external/llvm/lib/Target/CellSPU/
DSPUISelLowering.cpp66 EVT ArgVT = Op.getOperand(i).getValueType(); in ExpandLibCall()
79 Op.getNode()->getValueType(0).getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
565 EVT OutVT = Op.getValueType(); in LowerLOAD()
772 EVT VT = Value.getValueType(); in LowerSTORE()
1012 EVT PtrVT = Op.getValueType(); in LowerConstantPool()
1044 EVT PtrVT = Op.getValueType(); in LowerJumpTable()
1068 EVT PtrVT = Op.getValueType(); in LowerGlobalAddress()
1096 EVT VT = Op.getValueType(); in LowerConstantFP()
1321 SDValue PtrOff = DAG.getConstant(ArgOffset, StackPtr.getValueType()); in LowerCall()
1324 switch (Arg.getValueType().getSimpleVT().SimpleTy) { in LowerCall()
[all …]
DSPUISelDAGToDAG.cpp80 EVT vt = CN->getValueType(0); in isIntS16Immediate()
97 EVT vt = FPN->getValueType(0); in isFPS16Immediate()
176 EVT vecVT = bvNode->getValueType(0); in emitBuildVector()
500 Base = CurDAG->getTargetConstant(0, N.getValueType()); in DFormAddressPredicate()
504 Base = CurDAG->getTargetConstant(0, N.getValueType()); in DFormAddressPredicate()
521 Offs = CurDAG->getTargetConstant(0, Offs.getValueType()); in DFormAddressPredicate()
535 Base = CurDAG->getTargetConstant(0, Index.getValueType()); in DFormAddressPredicate()
609 EVT OpVT = N->getValueType(0); in Select()
618 SDValue TFI = CurDAG->getTargetFrameIndex(FI, N->getValueType(0)); in Select()
619 SDValue Imm0 = CurDAG->getTargetConstant(0, N->getValueType(0)); in Select()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h492 virtual QualType getValueType() const = 0;
496 QualType T = getValueType(); in getLocationType()
500 return ctx.getPointerType(getValueType()); in getLocationType()
504 QualType T = getValueType(); in getDesugaredValueType()
729 QualType getValueType() const { in getValueType() function
765 QualType getValueType() const { in getValueType() function
797 QualType getValueType() const { in getValueType() function
853 QualType getValueType() const { in getValueType() function
884 QualType getValueType() const { in getValueType() function
907 QualType getValueType() const { in getValueType() function
[all …]
/external/llvm/utils/TableGen/
DCallingConvEmitter.cpp89 O << "LocVT == " << getEnumName(getValueType(VT)); in EmitAction()
195 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
204 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
208 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp347 DAG.getValueType(VA.getValVT())); in LowerCCCArguments()
350 DAG.getValueType(VA.getValVT())); in LowerCCCArguments()
541 RegsToPass[i].second.getValueType())); in LowerCCCCallTo()
594 EVT VT = Op.getValueType(); in LowerShifts()
667 assert(!LHS.getValueType().isFloatingPoint() && "We don't handle FP yet"); in EmitCMP()
694 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0)); in EmitCMP()
707 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0)); in EmitCMP()
720 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0)); in EmitCMP()
733 RHS = DAG.getConstant(C->getSExtValue() + 1, C->getValueType(0)); in EmitCMP()
757 return DAG.getNode(MSP430ISD::BR_CC, dl, Op.getValueType(), in LowerBR_CC()
[all …]

12345