Searched refs:ValTy (Results 1 - 25 of 58) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowValues.h47 typedef typename ValueTypes::ValTy ValTy; typedef in class:clang::DataflowValues
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) {
92 const ValTy& getEdgeData(const BlockEdge &E) const {
100 ValTy& getBlockData(const CFGBlock *B) {
106 const ValTy& getBlockData(const CFGBlock *B) const {
116 ValTy
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A 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_cas
[all...]
H A DScopedHashTable.h160 using ValTy = ScopedHashTableVal<K, V>;
162 DenseMap<K, ValTy*, KInfo> TopLevelMap;
203 typename DenseMap<K, ValTy*, KInfo>::iterator I =
219 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp101 EVT ValTy = Addr.getValueType(); local
106 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
107 Offset = CurDAG->getTargetConstant(0, DL, ValTy);
130 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
131 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy);
137 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy);
163 Offset = CurDAG->getTargetConstant(0, DL, ValTy);
H A DMipsSEISelDAGToDAG.cpp271 EVT ValTy = Addr.getValueType(); local
273 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
274 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy);
287 EVT ValTy = Addr.getValueType(); local
292 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
303 ValTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp846 int SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
851 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, CostKind);
853 if (!ValTy->isVectorTy()) {
858 unsigned ScalarBits = ValTy->getScalarSizeInBits();
867 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16)
872 if (ValTy->isFloatingPointTy())
878 unsigned VF = cast<FixedVectorType>(ValTy)->getNumElements();
906 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1);
907 unsigned NumVecs_cmp = getNumVectorRegs(ValTy);
[all...]
H A DSystemZTargetTransformInfo.h98 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp241 unsigned HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
243 if (ValTy->isVectorTy() && CostKind == TTI::TCK_RecipThroughput) {
244 std::pair<int, MVT> LT = TLI.getTypeLegalizationCost(DL, ValTy);
246 return LT.first + FloatFactor * getTypeNumElements(ValTy);
248 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, CostKind, I);
H A DHexagonTargetTransformInfo.h136 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp546 int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, argument
551 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32)
558 if (cast<VectorType>(ValTy)->getElementType()->isIntegerTy())
563 if (ValTy->isVectorTy() &&
564 ValTy->getScalarSizeInBits() <= 32)
565 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U);
574 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index),
576 cast<FixedVectorType>(ValTy)->getNumElements() / 2;
579 return BaseT::getVectorInstrCost(Opcode, ValTy, Inde
582 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, TTI::TargetCostKind CostKind, const Instruction *I) argument
[all...]
H A DARMTargetTransformInfo.h213 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp253 const LLT &ValTy = Query.Types[0];
254 if (!ValTy.isVector())
256 const LLT EltTy = ValTy.getElementType();
750 const LLT ValTy = MRI.getType(ValReg); local
752 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() ||
753 ValTy.getElementType().getAddressSpace() != 0) {
758 unsigned PtrSize = ValTy.getElementType().getSizeInBits();
759 const LLT NewTy = LLT::vector(ValTy.getNumElements(), PtrSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp675 int GCNTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy,
681 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType());
685 return BaseT::getVectorInstrCost(Opcode, ValTy, Index);
696 return BaseT::getVectorInstrCost(Opcode, ValTy, Index);
1088 int R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy,
1094 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType());
1096 return BaseT::getVectorInstrCost(Opcode, ValTy, Index);
1107 return BaseT::getVectorInstrCost(Opcode, ValTy, Index);
H A DAMDGPUTargetTransformInfo.h209 int getVectorInstrCost(unsigned Opcode, Type *ValTy, unsigned Index);
288 int getVectorInstrCost(unsigned Opcode, Type *ValTy, unsigned Index);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp644 int AArch64TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
650 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, CostKind, I);
655 if (ValTy->isVectorTy() && ISD == ISD::SELECT) {
669 EVT SelValTy = TLI->getValueType(DL, ValTy);
677 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, CostKind, I);
1001 VectorType *ValTy,
1006 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm,
1009 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy);
1028 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm,
1000 getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, bool IsPairwiseForm, TTI::TargetCostKind CostKind) argument
H A DAArch64TargetTransformInfo.h139 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h109 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h454 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, argument
901 Type *ValTy = U->getOperand(0)->getType(); local
902 return TargetTTI->getMemoryOpCost(Opcode, ValTy, SI->getAlign(),
919 Type *ValTy = U->getOperand(0)->getType(); local
920 return TargetTTI->getCmpSelInstrCost(Opcode, ValTy, U->getType(),
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp760 bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy,
764 CharUnits Align = CGF.getContext().getTypeAlignInChars(ValTy);
766 ValTy =
772 CGF.getContext().getPointerType(ValTy),
775 Args.add(RValue::get(Val), ValTy); local
1454 auto *ValTy = AsValue local
1457 if (ValTy->isIntegerTy()) {
1458 assert(IntVal->getType() == ValTy && "Different integer types.");
1460 } else if (ValTy->isPointerTy())
1461 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy));
759 AddDirectArgument(CodeGenFunction &CGF, CallArgList &Args, bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy, SourceLocation Loc, CharUnits SizeInChars) argument
[all...]
H A DCGExprConstant.cpp556 const APValue &Value, QualType ValTy);
855 llvm::Type *ValTy = CGM.getTypes().ConvertType(Type); local
856 return Builder.build(ValTy, RD->hasFlexibleArrayMember());
861 QualType ValTy) {
868 return Builder.Finalize(ValTy);
873 QualType ValTy) {
877 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl();
882 return Builder.Finalize(ValTy);
1272 llvm::Type *ValTy = CGM.getTypes().ConvertType(destType);
1276 return Const.build(ValTy, HasFlexibleArra
859 BuildStruct(ConstantEmitter &Emitter, InitListExpr *ILE, QualType ValTy) argument
871 BuildStruct(ConstantEmitter &Emitter, const APValue &Val, QualType ValTy) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp474 LLT ValTy = MRI.getType(ValReg);
475 if (LocTy.getSizeInBits() == ValTy.getSizeInBits())
479 if (MaxSizeBits <= ValTy.getSizeInBits())
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDIE.h370 using ValTy = AlignedCharArrayUnion<DIEInteger, DIEString, DIEExpr, DIELabel,
374 static_assert(sizeof(ValTy) <= sizeof(uint64_t) ||
375 sizeof(ValTy) <= sizeof(void *),
379 ValTy Val;
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp666 QualType ValTy = ArgTy->getPointeeType();
670 if (ValTy->isVoidType())
671 ValTy = C.getASTContext().CharTy;
673 return State->getSVal(*AddrLoc, ValTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h134 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DX86TargetTransformInfo.cpp2055 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, argument
2060 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, CostKind, I);
2063 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy);
2244 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, CostKind, I);
3120 int X86TTIImpl::getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy, argument
3125 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwise, CostKind);
3167 EVT VT = TLI->getValueType(DL, ValTy);
3183 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy);
3187 auto *ValVTy = cast<FixedVectorType>(ValTy);
3484 int X86TTIImpl::getMinMaxReductionCost(VectorType *ValTy, VectorTyp argument
[all...]

Completed in 153 milliseconds

123