Home
last modified time | relevance | path

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

1234567

/external/llvm-project/clang/include/clang/Analysis/FlowSensitive/
DDataflowValues.h47 typedef typename ValueTypes::ValTy ValTy; typedef
50 typedef llvm::DenseMap<ProgramPoint, ValTy> EdgeDataMapTy;
51 typedef llvm::DenseMap<const CFGBlock*, ValTy> BlockDataMapTy;
52 typedef llvm::DenseMap<const Stmt*, ValTy> StmtDataMapTy;
86 ValTy& getEdgeData(const BlockEdge &E) { in getEdgeData()
92 const ValTy& getEdgeData(const BlockEdge &E) const { in getEdgeData()
100 ValTy& getBlockData(const CFGBlock *B) { in getBlockData()
106 const ValTy& getBlockData(const CFGBlock *B) const { in getBlockData()
116 ValTy& getStmtData(const Stmt *S) { in getStmtData()
123 const ValTy& getStmtData(const Stmt *S) const { in getStmtData()
/external/clang/include/clang/Analysis/FlowSensitive/
DDataflowValues.h48 typedef typename ValueTypes::ValTy ValTy; typedef
51 typedef llvm::DenseMap<ProgramPoint, ValTy> EdgeDataMapTy;
52 typedef llvm::DenseMap<const CFGBlock*, ValTy> BlockDataMapTy;
53 typedef llvm::DenseMap<const Stmt*, ValTy> StmtDataMapTy;
87 ValTy& getEdgeData(const BlockEdge &E) { in getEdgeData()
93 const ValTy& getEdgeData(const BlockEdge &E) const { in getEdgeData()
101 ValTy& getBlockData(const CFGBlock *B) { in getBlockData()
107 const ValTy& getBlockData(const CFGBlock *B) const { in getBlockData()
117 ValTy& getStmtData(const Stmt *S) { in getStmtData()
124 const ValTy& getStmtData(const Stmt *S) const { in getStmtData()
/external/llvm-project/llvm/include/llvm/ADT/
DPointerUnion.h96 template <typename Derived, typename ValTy, int I, typename ...Types>
99 template <typename Derived, typename ValTy, int I>
100 class PointerUnionMembers<Derived, ValTy, I> {
102 ValTy Val;
104 PointerUnionMembers(ValTy Val) : Val(Val) {}
109 template <typename Derived, typename ValTy, int I, typename Type,
111 class PointerUnionMembers<Derived, ValTy, I, Type, Types...>
112 : public PointerUnionMembers<Derived, ValTy, I + 1, Types...> {
113 using Base = PointerUnionMembers<Derived, ValTy, I + 1, Types...>;
118 : 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()
/external/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()
/external/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 …]
/external/llvm/include/llvm/ADT/
DPointerUnion.h86 ValTy;
89 ValTy Val;
183 V.Val = ValTy::getFromOpaqueValue(VP);
218 typename PointerUnion<PT1, PT2>::ValTy>::NumLowBitsAvailable
227 typedef PointerUnion<InnerUnion, PT3> ValTy;
230 ValTy Val;
233 ValTy Val;
234 IsInnerUnion(ValTy val) : Val(val) {}
245 ValTy Val;
246 IsPT3(ValTy val) : Val(val) {}
[all …]
DScopedHashTable.h153 typedef ScopedHashTableVal<K, V> ValTy; typedef
154 DenseMap<K, ValTy*, KInfo> TopLevelMap;
180 typename DenseMap<K, ValTy*, KInfo>::iterator I = TopLevelMap.find(Key); in lookup()
196 typename DenseMap<K, ValTy*, KInfo>::iterator I = in begin()
212 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val, in insertIntoScope()
/external/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 …]
/external/llvm-project/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 …]
/external/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.td1332 class DSPBinPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1334 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>;
1352 class DSPShiftPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1354 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>;
1370 class DSPSetCCPat<Instruction Cmp, Instruction Pick, ValueType ValTy,
1372 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)),
1373 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)),
1374 (ValTy (COPY_TO_REGCLASS (ADDiu ZERO, -1), DSPR)),
1375 (ValTy ZERO)))>;
1377 class DSPSetCCPatInv<Instruction Cmp, Instruction Pick, ValueType ValTy,
[all …]
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp269 int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
274 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
281 if (ValTy->getVectorElementType()->isIntegerTy()) in getVectorInstrCost()
286 if (ValTy->isVectorTy() && in getVectorInstrCost()
287 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
288 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U); in getVectorInstrCost()
291 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
294 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
298 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
307 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
[all …]
/external/llvm/include/llvm/IR/
DCallSite.h42 typename ValTy = const Value,
56 explicit CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase()
64 static CallSiteBase get(ValTy *V) { in get()
93 ValTy *getCalledValue() const { in getCalledValue()
158 ValTy *getArgument(unsigned ArgNo) const { in getArgument()
272 ValTy *getArgOperand(unsigned i) const { in getArgOperand()
276 ValTy *getReturnedArgOperand() const { in getReturnedArgOperand()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp849 int SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
854 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost()
856 if (!ValTy->isVectorTy()) { in getCmpSelInstrCost()
861 unsigned ScalarBits = ValTy->getScalarSizeInBits(); in getCmpSelInstrCost()
870 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()
875 if (ValTy->isFloatingPointTy()) in getCmpSelInstrCost()
881 unsigned VF = cast<FixedVectorType>(ValTy)->getNumElements(); in getCmpSelInstrCost()
909 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1); in getCmpSelInstrCost()
910 unsigned NumVecs_cmp = getNumVectorRegs(ValTy); in getCmpSelInstrCost()
924 getVectorBitmaskConversionCost(CmpOpTy, ValTy); in getCmpSelInstrCost()
[all …]
/external/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()
/external/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 …]
/external/llvm-project/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp780 int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
785 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
792 if (cast<VectorType>(ValTy)->getElementType()->isIntegerTy()) in getVectorInstrCost()
797 if (ValTy->isVectorTy() && in getVectorInstrCost()
798 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
799 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U); in getVectorInstrCost()
808 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), in getVectorInstrCost()
810 cast<FixedVectorType>(ValTy)->getNumElements() / 2; in getVectorInstrCost()
813 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
816 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
[all …]
/external/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 …]
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp229 unsigned HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
234 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) { in getCmpSelInstrCost()
235 std::pair<int, MVT> LT = TLI.getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
237 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost()
239 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
/external/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()
/external/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()

1234567