Home
last modified time | relevance | path

Searched refs:ValTy (Results 1 – 25 of 55) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DPointerUnion.h90 ValTy;
93 ValTy Val;
187 V.Val = ValTy::getFromOpaqueValue(VP);
223 typename PointerUnion<PT1, PT2>::ValTy>::NumLowBitsAvailable
232 typedef PointerUnion<InnerUnion, PT3> ValTy;
235 ValTy Val;
238 ValTy Val;
239 IsInnerUnion(ValTy val) : Val(val) {}
250 ValTy Val;
251 IsPT3(ValTy val) : Val(val) {}
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DPointerUnion.h103 template <typename Derived, typename ValTy, int I, typename ...Types>
106 template <typename Derived, typename ValTy, int I>
107 class PointerUnionMembers<Derived, ValTy, I> {
109 ValTy Val;
111 PointerUnionMembers(ValTy Val) : Val(Val) {}
116 template <typename Derived, typename ValTy, int I, typename Type,
118 class PointerUnionMembers<Derived, ValTy, I, Type, Types...>
119 : public PointerUnionMembers<Derived, ValTy, I + 1, Types...> {
120 using Base = PointerUnionMembers<Derived, ValTy, I + 1, Types...>;
125 : Base(ValTy(const_cast<void *>(
[all …]
DScopedHashTable.h160 using ValTy = ScopedHashTableVal<K, V>; variable
162 DenseMap<K, ValTy*, KInfo> TopLevelMap;
203 typename DenseMap<K, ValTy*, KInfo>::iterator I = in begin()
219 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val, in insertIntoScope()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp101 EVT ValTy = Addr.getValueType(); in selectAddr() local
106 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr()
107 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr()
130 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr()
131 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr()
137 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr()
163 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr()
DMipsDSPInstrInfo.td1359 class DSPBinPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1361 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>;
1379 class DSPShiftPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1381 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>;
1397 class DSPSetCCPat<Instruction Cmp, Instruction Pick, ValueType ValTy,
1399 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)),
1400 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)),
1401 (ValTy (COPY_TO_REGCLASS (ADDiu ZERO, -1), DSPR)),
1402 (ValTy ZERO)))>;
1404 class DSPSetCCPatInv<Instruction Cmp, Instruction Pick, ValueType ValTy,
[all …]
DMipsSEISelDAGToDAG.cpp271 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex() local
273 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndex()
274 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectAddrFrameIndex()
287 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset() local
292 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndexOffset()
303 ValTy); in selectAddrFrameIndexOffset()
DMipsISelLowering.cpp792 EVT ValTy = N->getValueType(0); in performANDCombine() local
818 if (SMPos != 0 || Pos + SMSize > ValTy.getSizeInBits()) in performANDCombine()
836 if (SMPos != Pos || Pos >= ValTy.getSizeInBits() || SMSize >= 32 || in performANDCombine()
837 Pos + SMSize > ValTy.getSizeInBits()) in performANDCombine()
860 return DAG.getNode(Opc, DL, ValTy, NewOperand, in performANDCombine()
908 EVT ValTy = N->getValueType(0); in performORCombine() local
909 if ((Shamt != SMPos0) || (SMPos0 + SMSize0 > ValTy.getSizeInBits())) in performORCombine()
913 return DAG.getNode(MipsISD::Ins, DL, ValTy, Shl.getOperand(0), in performORCombine()
940 EVT ValTy = N->getOperand(0)->getValueType(0); in performORCombine() local
950 ? DAG.getConstant(CN1->getSExtValue() >> SMPos0, DL, ValTy) in performORCombine()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp807 int SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
809 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
811 unsigned VF = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
839 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1); in getCmpSelInstrCost()
840 unsigned NumVecs_cmp = getNumVectorRegs(ValTy); in getCmpSelInstrCost()
854 getVectorBitmaskConversionCost(CmpOpTy, ValTy); in getCmpSelInstrCost()
856 return getNumVectorRegs(ValTy) /*vsel*/ + PackCost; in getCmpSelInstrCost()
864 unsigned ScalarBits = ValTy->getScalarSizeInBits(); in getCmpSelInstrCost()
873 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()
878 if (ValTy->isFloatingPointTy()) in getCmpSelInstrCost()
[all …]
DSystemZTargetTransformInfo.h87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp229 unsigned HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
231 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
232 std::pair<int, MVT> LT = TLI.getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
234 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost()
236 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
DHexagonISelLowering.cpp972 EVT ValTy = Op.getValueType(); in LowerConstantPool() local
991 T = DAG.getTargetConstantPool(CPN->getMachineCPVal(), ValTy, Align, Offset, in LowerConstantPool()
994 T = DAG.getTargetConstantPool(CVal, ValTy, Align, Offset, TF); in LowerConstantPool()
996 T = DAG.getTargetConstantPool(CPN->getConstVal(), ValTy, Align, Offset, TF); in LowerConstantPool()
1002 return DAG.getNode(HexagonISD::AT_PCREL, SDLoc(Op), ValTy, T); in LowerConstantPool()
1003 return DAG.getNode(HexagonISD::CP, SDLoc(Op), ValTy, T); in LowerConstantPool()
2327 const SDLoc &dl, MVT ValTy, MVT ResTy, in extractVector() argument
2330 assert(!ValTy.isVector() || in extractVector()
2331 VecTy.getVectorElementType() == ValTy.getVectorElementType()); in extractVector()
2333 unsigned ValWidth = ValTy.getSizeInBits(); in extractVector()
[all …]
DHexagonTargetTransformInfo.h128 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp411 int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
416 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
423 if (ValTy->getVectorElementType()->isIntegerTy()) in getVectorInstrCost()
428 if (ValTy->isVectorTy() && in getVectorInstrCost()
429 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
430 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U); in getVectorInstrCost()
439 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), in getVectorInstrCost()
441 ValTy->getVectorNumElements() / 2; in getVectorInstrCost()
444 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
447 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCallSite.h52 typename ValTy = const Value, typename UserTy = const User,
66 explicit CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase()
73 static CallSiteBase get(ValTy *V) { in get()
104 ValTy *getCalledValue() const { in getCalledValue()
193 ValTy *getArgument(unsigned ArgNo) const { in getArgument()
307 ValTy *getArgOperand(unsigned i) const { in getArgOperand()
311 ValTy *getReturnedArgOperand() const { in getReturnedArgOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64LegalizerInfo.cpp240 const LLT &ValTy = Query.Types[0]; in AArch64LegalizerInfo() local
241 if (!ValTy.isVector()) in AArch64LegalizerInfo()
243 const LLT EltTy = ValTy.getElementType(); in AArch64LegalizerInfo()
699 const LLT ValTy = MRI.getType(ValReg); in legalizeLoadStore() local
701 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() || in legalizeLoadStore()
702 ValTy.getElementType().getAddressSpace() != 0) { in legalizeLoadStore()
708 unsigned PtrSize = ValTy.getElementType().getSizeInBits(); in legalizeLoadStore()
709 const LLT NewTy = LLT::vector(ValTy.getNumElements(), PtrSize); in legalizeLoadStore()
DAArch64TargetTransformInfo.cpp598 int AArch64TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
604 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
618 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
626 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
928 int AArch64TTIImpl::getArithmeticReductionCost(unsigned Opcode, Type *ValTy, in getArithmeticReductionCost() argument
932 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm); in getArithmeticReductionCost()
934 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getArithmeticReductionCost()
953 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm); in getArithmeticReductionCost()
DAArch64TargetTransformInfo.h133 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp551 int GCNTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
557 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost()
561 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
572 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
946 int R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
952 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost()
954 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
965 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
DAMDGPUTargetTransformInfo.h185 int getVectorInstrCost(unsigned Opcode, Type *ValTy, unsigned Index);
270 int getVectorInstrCost(unsigned Opcode, Type *ValTy, unsigned Index);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DDIE.h370 using ValTy = AlignedCharArrayUnion<DIEInteger, DIEString, DIEExpr, DIELabel, variable
374 static_assert(sizeof(ValTy) <= sizeof(uint64_t) ||
375 sizeof(ValTy) <= sizeof(void *),
379 ValTy Val;
DBasicTTIImpl.h836 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
848 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
850 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost()
860 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
861 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
865 Opcode, ValTy->getScalarType(), CondTy, I); in getCmpSelInstrCost()
869 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp635 int TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
639 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
1207 Type *ValTy = I->getOperand(0)->getType(); in getInstructionThroughput() local
1208 return getCmpSelInstrCost(I->getOpcode(), ValTy, I->getType(), I); in getInstructionThroughput()
1212 Type *ValTy = SI->getValueOperand()->getType(); in getInstructionThroughput() local
1213 return getMemoryOpCost(I->getOpcode(), ValTy, in getInstructionThroughput()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.h99 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
DPPCTargetTransformInfo.cpp750 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
752 int Cost = BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
753 return vectorCostAdjustment(Cost, Opcode, ValTy, nullptr); in getCmpSelInstrCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp5793 Type *ValTy = getMemInstValueType(I); in getMemInstScalarizationCost() local
5810 Cost += VF * TTI.getMemoryOpCost(I->getOpcode(), ValTy->getScalarType(), in getMemInstScalarizationCost()
5834 Type *ValTy = getMemInstValueType(I); in getConsecutiveMemOpCost() local
5835 Type *VectorTy = ToVectorTy(ValTy, VF); in getConsecutiveMemOpCost()
5858 Type *ValTy = getMemInstValueType(I); in getUniformMemOpCost() local
5859 Type *VectorTy = ToVectorTy(ValTy, VF); in getUniformMemOpCost()
5863 return TTI.getAddressComputationCost(ValTy) + in getUniformMemOpCost()
5864 TTI.getMemoryOpCost(Instruction::Load, ValTy, Alignment, AS) + in getUniformMemOpCost()
5870 return TTI.getAddressComputationCost(ValTy) + in getUniformMemOpCost()
5871 TTI.getMemoryOpCost(Instruction::Store, ValTy, Alignment, AS) + in getUniformMemOpCost()
[all …]

123