Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/FlowSensitive/
H A 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()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DPointerUnion.h89 using ValTy =
93 ValTy Val;
188 V.Val = ValTy::getFromOpaqueValue(VP);
235 ValTy Val;
238 ValTy Val;
240 IsInnerUnion(ValTy val) : Val(val) {}
253 ValTy Val;
255 IsPT3(ValTy val) : Val(val) {}
325 V.Val = ValTy::getFromOpaqueValue(VP);
365 ValTy Val;
[all …]
H A 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()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A 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()
H A DMipsDSPInstrInfo.td1351 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>;
1371 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>;
1389 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)),
1390 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)),
1396 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)),
1397 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)),
1398 (ValTy ZERO),
1403 DSPPat<(ValTy (MipsSELECT_CC_DSP ValTy:$a, ValTy:$b, ValTy:$c, ValTy:$d, CC)),
1404 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)), $c, $d))>;
1408 DSPPat<(ValTy (MipsSELECT_CC_DSP ValTy:$a, ValTy:$b, ValTy:$c, ValTy:$d, CC)),
[all …]
H A DMipsSEISelDAGToDAG.cpp324 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex() local
326 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndex()
327 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectAddrFrameIndex()
340 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset() local
345 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndexOffset()
355 ValTy); in selectAddrFrameIndexOffset()
H A DMipsISelLowering.cpp789 EVT ValTy = N->getValueType(0); in performANDCombine() local
834 Pos + SMSize > ValTy.getSizeInBits()) in performANDCombine()
857 return DAG.getNode(Opc, DL, ValTy, NewOperand, in performANDCombine()
905 EVT ValTy = N->getValueType(0); in performORCombine() local
937 EVT ValTy = N->getOperand(0)->getValueType(0); in performORCombine() local
1092 EVT ValTy = N->getValueType(0); in performADDCombine() local
1097 return DAG.getNode(ISD::ADD, DL, ValTy, Add1, Lo); in performADDCombine()
1113 EVT ValTy = N->getValueType(0); in performSHLCombine() local
1126 if (Pos >= ValTy.getSizeInBits()) in performSHLCombine()
2617 EVT ValTy = Op->getValueType(0); in lowerEH_DWARF_CFA() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A 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()
359 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
368 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
376 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp787 int SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
789 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
791 unsigned VF = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
819 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1); in getCmpSelInstrCost()
820 unsigned NumVecs_cmp = getNumVectorRegs(ValTy); in getCmpSelInstrCost()
834 getVectorBitmaskConversionCost(CmpOpTy, ValTy); in getCmpSelInstrCost()
836 return getNumVectorRegs(ValTy) /*vsel*/ + PackCost; in getCmpSelInstrCost()
844 unsigned ScalarBits = ValTy->getScalarSizeInBits(); in getCmpSelInstrCost()
853 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()
858 if (ValTy->isFloatingPointTy()) in getCmpSelInstrCost()
[all …]
H A DSystemZTargetTransformInfo.h87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A 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()
704 int R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
710 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost()
712 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
723 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
H A DAMDGPUTargetTransformInfo.h172 int getVectorInstrCost(unsigned Opcode, Type *ValTy, unsigned Index);
240 int getVectorInstrCost(unsigned Opcode, Type *ValTy, unsigned Index);
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A 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()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp218 unsigned HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
220 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
221 std::pair<int, MVT> LT = TLI.getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
223 return LT.first + FloatFactor * getTypeNumElements(ValTy); in getCmpSelInstrCost()
225 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
H A DHexagonISelLowering.cpp913 EVT ValTy = Op.getValueType(); in LowerConstantPool() local
944 return DAG.getNode(HexagonISD::CP, SDLoc(Op), ValTy, T); in LowerConstantPool()
2243 assert(!ValTy.isVector() || in extractVector()
2246 unsigned ValWidth = ValTy.getSizeInBits(); in extractVector()
2261 if (IdxN->isNullValue() && ValTy.getSizeInBits() == 1) in extractVector()
2314 ExtV = DAG.getZeroExtendInReg(VecV, dl, tyScalar(ValTy)); in extractVector()
2339 const SDLoc &dl, MVT ValTy, in insertVector() argument
2343 MVT ValTy = ty(ValV); in insertVector() local
2344 assert(ValTy.getVectorElementType() == MVT::i1); in insertVector()
2347 unsigned Scale = VecLen / ValTy.getVectorNumElements(); in insertVector()
[all …]
H A DHexagonTargetTransformInfo.h128 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A 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()
922 int AArch64TTIImpl::getArithmeticReductionCost(unsigned Opcode, Type *ValTy, in getArithmeticReductionCost() argument
926 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm); in getArithmeticReductionCost()
928 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getArithmeticReductionCost()
947 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm); in getArithmeticReductionCost()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp446 QualType ValTy = ArgTy->getPointeeType(); in getPointedToSVal() local
450 if (ValTy->isVoidType()) in getPointedToSVal()
451 ValTy = C.getASTContext().CharTy; in getPointedToSVal()
453 return State->getSVal(*AddrLoc, ValTy); in getPointedToSVal()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp481 int TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
485 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
1033 Type *ValTy = I->getOperand(0)->getType(); in getInstructionThroughput() local
1034 return getCmpSelInstrCost(I->getOpcode(), ValTy, I->getType(), I); in getInstructionThroughput()
1038 Type *ValTy = SI->getValueOperand()->getType(); in getInstructionThroughput() local
1039 return getMemoryOpCost(I->getOpcode(), ValTy, in getInstructionThroughput()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp52 QualType ValTy);
56 const APValue &Value, QualType ValTy);
552 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); in Finalize() local
553 if (llvm::StructType *ValSTy = dyn_cast<llvm::StructType>(ValTy)) { in Finalize()
571 QualType ValTy) { in BuildStruct() argument
575 return Builder.Finalize(ValTy); in BuildStruct()
580 QualType ValTy) { in BuildStruct() argument
586 return Builder.Finalize(ValTy); in BuildStruct()
591 QualType ValTy) { in BuildStruct() argument
594 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl(); in BuildStruct()
[all …]
H A DCGAtomic.cpp726 CharUnits Align = CGF.getContext().getTypeAlignInChars(ValTy); in AddDirectArgument()
728 ValTy = in AddDirectArgument()
734 CGF.getContext().getPointerType(ValTy), in AddDirectArgument()
737 Args.add(RValue::get(Val), ValTy); in AddDirectArgument()
1394 auto *ValTy = AsValue in ConvertIntToValueOrAtomic() local
1397 if (ValTy->isIntegerTy()) { in ConvertIntToValueOrAtomic()
1398 assert(IntVal->getType() == ValTy && "Different integer types."); in ConvertIntToValueOrAtomic()
1400 } else if (ValTy->isPointerTy()) in ConvertIntToValueOrAtomic()
1401 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic()
1402 else if (llvm::CastInst::isBitCastable(IntVal->getType(), ValTy)) in ConvertIntToValueOrAtomic()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h772 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
784 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
786 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost()
796 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
797 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
801 Opcode, ValTy->getScalarType(), CondTy, I); in getCmpSelInstrCost()
805 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()
H A DDIE.h351 using ValTy = AlignedCharArrayUnion<DIEInteger, DIEString, DIEExpr, DIELabel, variable
355 static_assert(sizeof(ValTy) <= sizeof(uint64_t) ||
356 sizeof(ValTy) <= sizeof(void *),
360 ValTy Val;
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h84 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DPPCTargetTransformInfo.cpp358 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
360 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()

123