Home
last modified time | relevance | path

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

1234

/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/swiftshader/third_party/LLVM/include/llvm/ADT/
DPointerUnion.h82 PointerUnionUIntTraits<PT1,PT2> > ValTy;
84 ValTy Val;
175 V.Val = ValTy::getFromOpaqueValue(VP);
197 PointerLikeTypeTraits<typename PointerUnion<PT1,PT2>::ValTy>
209 typedef PointerUnion<InnerUnion, PT3> ValTy;
211 ValTy Val;
214 ValTy Val;
215 IsInnerUnion(ValTy val) : Val(val) { }
228 ValTy Val;
229 IsPT3(ValTy val) : Val(val) { }
[all …]
DScopedHashTable.h152 typedef ScopedHashTableVal<K, V> ValTy; typedef
153 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-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-7.0/llvm/include/llvm/ADT/
DPointerUnion.h89 using ValTy =
93 ValTy Val;
188 V.Val = ValTy::getFromOpaqueValue(VP);
223 typename PointerUnion<PT1, PT2>::ValTy>::NumLowBitsAvailable
232 using ValTy = PointerUnion<InnerUnion, PT3>;
235 ValTy Val;
238 ValTy Val;
240 IsInnerUnion(ValTy val) : Val(val) {}
253 ValTy Val;
255 IsPT3(ValTy val) : Val(val) {}
[all …]
DScopedHashTable.h161 using ValTy = ScopedHashTableVal<K, V>; variable
163 DenseMap<K, ValTy*, KInfo> TopLevelMap;
204 typename DenseMap<K, ValTy*, KInfo>::iterator I = in begin()
220 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val, in insertIntoScope()
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsISelDAGToDAG.cpp114 EVT ValTy = Addr.getValueType(); in SelectAddr() local
115 unsigned GPReg = ValTy == MVT::i32 ? Mips::GP : Mips::GP_64; in SelectAddr()
119 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in SelectAddr()
120 Offset = CurDAG->getTargetConstant(0, ValTy); in SelectAddr()
127 Base = CurDAG->getRegister(GPReg, ValTy); in SelectAddr()
136 Base = CurDAG->getRegister(GPReg, ValTy); in SelectAddr()
150 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in SelectAddr()
154 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), ValTy); in SelectAddr()
183 Offset = CurDAG->getTargetConstant(0, ValTy); in SelectAddr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp102 EVT ValTy = Addr.getValueType(); in selectAddr() local
107 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr()
108 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr()
131 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr()
132 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr()
138 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr()
164 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr()
DMipsDSPInstrInfo.td1347 class DSPBinPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1349 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>;
1367 class DSPShiftPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1369 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>;
1385 class DSPSetCCPat<Instruction Cmp, Instruction Pick, ValueType ValTy,
1387 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)),
1388 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)),
1389 (ValTy (COPY_TO_REGCLASS (ADDiu ZERO, -1), DSPR)),
1390 (ValTy ZERO)))>;
1392 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp330 int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
335 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
342 if (ValTy->getVectorElementType()->isIntegerTy()) in getVectorInstrCost()
347 if (ValTy->isVectorTy() && in getVectorInstrCost()
348 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
349 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U); in getVectorInstrCost()
352 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
355 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
359 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
368 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp729 int SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
731 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
733 unsigned VF = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
761 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1); in getCmpSelInstrCost()
762 unsigned NumVecs_cmp = getNumberOfParts(ValTy); in getCmpSelInstrCost()
776 getVectorBitmaskConversionCost(CmpOpTy, ValTy); in getCmpSelInstrCost()
778 return getNumberOfParts(ValTy) /*vsel*/ + PackCost; in getCmpSelInstrCost()
785 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()
790 if (ValTy->isFloatingPointTy()) in getCmpSelInstrCost()
796 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, nullptr); in getCmpSelInstrCost()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCallSite.h41 typename ValTy = const Value,
54 CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase()
61 static CallSiteBase get(ValTy *V) { in get()
86 ValTy *getCalledValue() const { in getCalledValue()
112 ValTy *getArgument(unsigned ArgNo) const { in getArgument()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp489 int GCNTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
495 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost()
499 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
510 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
706 int R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
712 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost()
714 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
725 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DCallSite.h54 typename ValTy = const Value,
68 explicit CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase()
74 static CallSiteBase get(ValTy *V) { in get()
100 ValTy *getCalledValue() const { in getCalledValue()
186 ValTy *getArgument(unsigned ArgNo) const { in getArgument()
297 ValTy *getArgOperand(unsigned i) const { in getArgOperand()
301 ValTy *getReturnedArgOperand() const { in getReturnedArgOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp214 unsigned HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
216 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
217 std::pair<int, MVT> LT = TLI.getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
219 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost()
221 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp637 LLT ValTy = getMRI()->getType(Val); in buildInsertVectorElement() local
640 assert(ResTy.isVector() && ValTy.isVector() && "invalid operand type"); in buildInsertVectorElement()
642 assert(ResTy.getNumElements() == ValTy.getNumElements() && "type mismatch"); in buildInsertVectorElement()
658 LLT ValTy = getMRI()->getType(Val); in buildExtractVectorElement() local
660 assert(ValTy.isVector() && "invalid operand type"); in buildExtractVectorElement()
663 assert(ValTy.getElementType() == ResTy && "type mismatch"); in buildExtractVectorElement()
731 LLT ValTy = getMRI()->getType(Val); in buildAtomicRMW() local
734 assert(ValTy.isValid() && "invalid operand type"); in buildAtomicRMW()
735 assert(OldValResTy == ValTy && "type mismatch"); in buildAtomicRMW()
/external/llvm/lib/Analysis/
DCostModel.cpp423 Type *ValTy = I->getOperand(0)->getType(); in getInstructionCost() local
424 return TTI->getCmpSelInstrCost(I->getOpcode(), ValTy); in getInstructionCost()
428 Type *ValTy = SI->getValueOperand()->getType(); in getInstructionCost() local
429 return TTI->getMemoryOpCost(I->getOpcode(), ValTy, in getInstructionCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp589 int AArch64TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
595 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
609 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
617 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
918 int AArch64TTIImpl::getArithmeticReductionCost(unsigned Opcode, Type *ValTy, in getArithmeticReductionCost() argument
922 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm); in getArithmeticReductionCost()
924 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getArithmeticReductionCost()
943 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm); in getArithmeticReductionCost()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h479 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
490 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
492 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost()
502 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
503 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
507 Opcode, ValTy->getScalarType(), CondTy); in getCmpSelInstrCost()
511 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()

1234