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

123

/freebsd-11-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-11-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-11-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-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp229 unsigned HexagonTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
231 if (ValTy->isVectorTy()) {
232 std::pair<int, MVT> LT = TLI.getTypeLegalizationCost(DL, ValTy);
234 return LT.first + FloatFactor * getTypeNumElements(ValTy);
236 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
H A DHexagonTargetTransformInfo.h128 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp807 int SystemZTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
809 if (ValTy->isVectorTy()) {
811 unsigned VF = ValTy->getVectorNumElements();
839 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1);
840 unsigned NumVecs_cmp = getNumVectorRegs(ValTy);
854 getVectorBitmaskConversionCost(CmpOpTy, ValTy);
856 return getNumVectorRegs(ValTy) /*vsel*/ + PackCost;
864 unsigned ScalarBits = ValTy->getScalarSizeInBits();
873 if (ValTy->isIntegerTy() && ValTy
[all...]
H A DSystemZTargetTransformInfo.h87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DCallSite.h52 typename ValTy = const Value, typename UserTy = const User,
66 explicit CallSiteBase(ValTy *II) { *this = get(II); }
73 static CallSiteBase get(ValTy *V) {
104 ValTy *getCalledValue() const {
193 ValTy *getArgument(unsigned ArgNo) const {
307 ValTy *getArgOperand(unsigned i) const {
311 ValTy *getReturnedArgOperand() const {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp411 int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, argument
416 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32)
423 if (ValTy->getVectorElementType()->isIntegerTy())
428 if (ValTy->isVectorTy() &&
429 ValTy->getScalarSizeInBits() <= 32)
430 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U);
439 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index),
441 ValTy->getVectorNumElements() / 2;
444 return BaseT::getVectorInstrCost(Opcode, ValTy, Inde
447 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, const Instruction *I) argument
[all...]
H A DARMTargetTransformInfo.h199 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LegalizerInfo.cpp240 const LLT &ValTy = Query.Types[0];
241 if (!ValTy.isVector())
243 const LLT EltTy = ValTy.getElementType();
699 const LLT ValTy = MRI.getType(ValReg); local
701 if (!ValTy.isVector() || !ValTy.getElementType().isPointer() ||
702 ValTy.getElementType().getAddressSpace() != 0) {
708 unsigned PtrSize = ValTy.getElementType().getSizeInBits();
709 const LLT NewTy = LLT::vector(ValTy.getNumElements(), PtrSize);
H A DAArch64TargetTransformInfo.cpp598 int AArch64TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
604 if (ValTy->isVectorTy() && ISD == ISD::SELECT) {
618 EVT SelValTy = TLI->getValueType(DL, ValTy);
626 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
928 int AArch64TTIImpl::getArithmeticReductionCost(unsigned Opcode, Type *ValTy, argument
932 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm);
934 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy);
953 return BaseT::getArithmeticReductionCost(Opcode, ValTy, IsPairwiseForm);
H A DAArch64TargetTransformInfo.h133 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp551 int GCNTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, argument
557 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType());
561 return BaseT::getVectorInstrCost(Opcode, ValTy, Index);
572 return BaseT::getVectorInstrCost(Opcode, ValTy, Index);
946 int R600TTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, argument
952 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType());
954 return BaseT::getVectorInstrCost(Opcode, ValTy, Index);
965 return BaseT::getVectorInstrCost(Opcode, ValTy, Index);
H A DAMDGPUTargetTransformInfo.h185 int getVectorInstrCost(unsigned Opcode, Type *ValTy, unsigned Index);
270 int getVectorInstrCost(unsigned Opcode, Type *ValTy, unsigned Index);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h100 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp759 bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy,
763 CharUnits Align = CGF.getContext().getTypeAlignInChars(ValTy);
765 ValTy =
771 CGF.getContext().getPointerType(ValTy),
774 Args.add(RValue::get(Val), ValTy); local
1453 auto *ValTy = AsValue local
1456 if (ValTy->isIntegerTy()) {
1457 assert(IntVal->getType() == ValTy && "Different integer types.");
1459 } else if (ValTy->isPointerTy())
1460 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy));
758 AddDirectArgument(CodeGenFunction &CGF, CallArgList &Args, bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy, SourceLocation Loc, CharUnits SizeInChars) argument
[all...]
H A DCGExprConstant.cpp547 const APValue &Value, QualType ValTy);
844 llvm::Type *ValTy = CGM.getTypes().ConvertType(Type); local
845 return Builder.build(ValTy, RD->hasFlexibleArrayMember());
850 QualType ValTy) {
857 return Builder.Finalize(ValTy);
862 QualType ValTy) {
866 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl();
871 return Builder.Finalize(ValTy);
1261 llvm::Type *ValTy = CGM.getTypes().ConvertType(destType);
1265 return Const.build(ValTy, HasFlexibleArra
848 BuildStruct(ConstantEmitter &Emitter, InitListExpr *ILE, QualType ValTy) argument
860 BuildStruct(ConstantEmitter &Emitter, const APValue &Val, QualType ValTy) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp635 int TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
639 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
1207 Type *ValTy = I->getOperand(0)->getType(); local
1208 return getCmpSelInstrCost(I->getOpcode(), ValTy, I->getType(), I);
1212 Type *ValTy = SI->getValueOperand()->getType(); local
1213 return getMemoryOpCost(I->getOpcode(), ValTy,
/freebsd-11-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;
H A DBasicTTIImpl.h836 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, argument
848 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy);
850 if (!(ValTy->isVectorTy() && !LT.second.isVector()) &&
860 if (ValTy->isVectorTy()) {
861 unsigned Num = ValTy->getVectorNumElements();
865 Opcode, ValTy->getScalarType(), CondTy, I);
869 return getScalarizationOverhead(ValTy, true, false) + Num * Cost;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp663 QualType ValTy = ArgTy->getPointeeType();
667 if (ValTy->isVoidType())
668 ValTy = C.getASTContext().CharTy;
670 return State->getSVal(*AddrLoc, ValTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h133 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,

Completed in 211 milliseconds

123