Home
last modified time | relevance | path

Searched refs:V (Results 1 – 25 of 2399) sorted by relevance

12345678910>>...96

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegralAP.h36 APInt V; variable
39 static T truncateCast(const APInt &V) { in truncateCast() argument
41 if (BitSize >= V.getBitWidth()) { in truncateCast()
44 Extended = V.sext(BitSize); in truncateCast()
46 Extended = V.zext(BitSize); in truncateCast()
51 return std::is_signed_v<T> ? V.trunc(BitSize).getSExtValue() in truncateCast()
52 : V.trunc(BitSize).getZExtValue(); in truncateCast()
60 : V(APInt(BitWidth, static_cast<uint64_t>(Value), Signed)) {} in IntegralAP()
62 IntegralAP(APInt V) : V(V) {} in IntegralAP() argument
66 IntegralAP operator-() const { return IntegralAP(-V); }
[all …]
H A DIntegral.h56 ReprT V;
63 template <typename T> explicit Integral(T V) : V(V) {}
69 Integral() : V(0) {}
73 explicit Integral(Integral<SrcBits, SrcSign> V) : V(V.V) {}
76 explicit Integral(const APSInt &V)
77 : V(V.isSigned() ? V.getSExtValue() : V.getZExtValue()) {}
79 bool operator<(Integral RHS) const { return V < RHS.V; }
80 bool operator>(Integral RHS) const { return V > RHS.V; }
81 bool operator<=(Integral RHS) const { return V <= RHS.V; }
82 bool operator>=(Integral RHS) const { return V >= RHS.V; }
[all …]
H A DBoolean.h28 bool V;
32 Boolean() : V(false) {} in Boolean()
33 explicit Boolean(bool V) : V(V) {} in Boolean() argument
35 bool operator<(Boolean RHS) const { return V < RHS.V; }
36 bool operator>(Boolean RHS) const { return V > RHS.V; }
37 bool operator<=(Boolean RHS) const { return V <= RHS.V; }
38 bool operator>=(Boolean RHS) const { return V >= RHS.V; }
39 bool operator==(Boolean RHS) const { return V == RHS.V; }
40 bool operator!=(Boolean RHS) const { return V != RHS.V; }
42 bool operator>(unsigned RHS) const { return static_cast<unsigned>(V) > RHS; }
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h43 ValueType(int64_t V) : sval(V) {} in ValueType()
44 ValueType(uint64_t V) : uval(V) {} in ValueType()
45 ValueType(const char *V) : cstr(V) {} in ValueType()
64 DWARFFormValue(dwarf::Form F, const ValueType &V) : Form(F), Value(V) {} in DWARFFormValue() argument
69 static DWARFFormValue createFromSValue(dwarf::Form F, int64_t V);
70 static DWARFFormValue createFromUValue(dwarf::Form F, uint64_t V);
71 static DWARFFormValue createFromPValue(dwarf::Form F, const char *V);
177 toString(const std::optional<DWARFFormValue> &V) { in toString() argument
178 if (!V) in toString()
180 Expected<const char*> E = V->getAsCString(); in toString()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h166 inline bool isSOImmTwoPartVal(unsigned V) { in isSOImmTwoPartVal() argument
168 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V; in isSOImmTwoPartVal()
169 if (V == 0) in isSOImmTwoPartVal()
173 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V; in isSOImmTwoPartVal()
174 return V == 0; in isSOImmTwoPartVal()
179 inline unsigned getSOImmTwoPartFirst(unsigned V) { in getSOImmTwoPartFirst() argument
180 return llvm::rotr<uint32_t>(255U, getSOImmValRotate(V)) & V; in getSOImmTwoPartFirst()
185 inline unsigned getSOImmTwoPartSecond(unsigned V) { in getSOImmTwoPartSecond() argument
187 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V; in getSOImmTwoPartSecond()
190 assert(V == (llvm::rotr<uint32_t>(255U, getSOImmValRotate(V)) & V)); in getSOImmTwoPartSecond()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp148 bool EqualTypeSize(Value *V);
150 bool LessOrEqualTypeSize(Value *V);
152 bool GreaterThanTypeSize(Value *V);
154 bool LessThanTypeSize(Value *V);
156 bool isSource(Value *V);
158 bool isSink(Value *V);
161 bool shouldPromote(Value *V);
166 bool isSupportedType(Value *V);
169 bool isSupportedValue(Value *V);
172 bool isLegalToPromote(Value *V);
[all …]
H A DIntrinsicLowering.cpp53 static Value *LowerBSWAP(LLVMContext &Context, Value *V, Instruction *IP) { in LowerBSWAP() argument
54 assert(V->getType()->isIntOrIntVectorTy() && "Can't bswap a non-integer type!"); in LowerBSWAP()
56 unsigned BitSize = V->getType()->getScalarSizeInBits(); in LowerBSWAP()
63 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
65 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
67 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); in LowerBSWAP()
71 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP()
73 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
75 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
77 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24), in LowerBSWAP()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroInstr.h64 static bool classof(const Value *V) { in classof() argument
65 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
76 static bool classof(const Value *V) { in classof() argument
77 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
109 static bool classof(const Value *V) { in classof() argument
110 return isa<CallBase>(V) && classof(cast<CallBase>(V)); in classof()
140 static bool classof(const Value *V) { in classof() argument
141 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
228 static bool classof(const Value *V) { in classof() argument
229 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h135 static bool classof(const Value *V) { in classof() argument
136 return isa<CallInst>(V) && classof(cast<CallInst>(V)); in classof()
159 static bool classof(const Value *V) { in classof() argument
160 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
186 static bool classof(const Value *V) { in classof() argument
187 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
276 return any_of(location_ops(), [](Value *V) { return isa<UndefValue>(V); }); in isKillLocation()
426 static bool classof(const Value *V) { in classof() argument
427 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
451 static bool classof(const Value *V) { in classof() argument
[all …]
H A DConstants.h71 static bool classof(const Value *V) { in classof() argument
72 return V->getValueID() >= ConstantDataFirstVal && in classof()
73 V->getValueID() <= ConstantDataLastVal; in classof()
87 ConstantInt(Type *Ty, const APInt &V);
95 const APInt &V);
102 static ConstantInt *getBool(LLVMContext &Context, bool V);
105 static Constant *getBool(Type *Ty, bool V);
109 static Constant *get(Type *Ty, uint64_t V, bool IsSigned = false);
117 static ConstantInt *get(IntegerType *Ty, uint64_t V, bool IsSigned = false);
124 static ConstantInt *getSigned(IntegerType *Ty, int64_t V) { in getSigned() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DFDRRecords.cpp18 Error BufferExtents::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
19 Error WallclockRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
20 Error NewCPUIDRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
21 Error TSCWrapRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
22 Error CustomEventRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
23 Error CallArgRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
24 Error PIDRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
25 Error NewBufferRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
26 Error EndBufferRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
27 Error FunctionRecord::apply(RecordVisitor &V) { return V.visit(*this); } in apply() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPriorityWorklist.h68 return V.empty(); in empty()
85 return V.back(); in back()
92 auto InsertResult = M.insert({X, V.size()}); in insert()
95 V.push_back(X); in insert()
100 assert(V[Index] == X && "Value not actually at index in map!"); in insert()
101 if (Index != (ptrdiff_t)(V.size() - 1)) { in insert()
103 V[Index] = T(); in insert()
104 Index = (ptrdiff_t)V.size(); in insert()
105 V.push_back(X); in insert()
120 ptrdiff_t StartIndex = V.size(); in insert()
[all …]
H A DScopedHashTable.h41 template <typename K, typename V, typename KInfo = DenseMapInfo<K>,
45 template <typename K, typename V>
50 V Val;
52 ScopedHashTableVal(const K &key, const V &val) : Key(key), Val(val) {} in ScopedHashTableVal()
56 const V &getValue() const { return Val; } in getValue()
57 V &getValue() { return Val; } in getValue()
66 const K &key, const V &val, in Create()
83 template <typename K, typename V, typename KInfo = DenseMapInfo<K>,
87 ScopedHashTable<K, V, KInfo, AllocatorTy> &HT;
94 ScopedHashTableVal<K, V> *LastValInScope;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h69 inline const Value *GetUnderlyingObjCPtr(const Value *V) { in GetUnderlyingObjCPtr() argument
71 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr()
72 if (!IsForwarding(GetBasicARCInstKind(V))) in GetUnderlyingObjCPtr()
74 V = cast<CallInst>(V)->getArgOperand(0); in GetUnderlyingObjCPtr()
77 return V; in GetUnderlyingObjCPtr()
82 const Value *V, in GetUnderlyingObjCPtrCached() argument
85 auto InCache = Cache.lookup(V); in GetUnderlyingObjCPtrCached()
89 const Value *Computed = GetUnderlyingObjCPtr(V); in GetUnderlyingObjCPtrCached()
110 GetRCIdentityRoot(const Value * V) GetRCIdentityRoot() argument
124 GetRCIdentityRoot(Value * V) GetRCIdentityRoot() argument
135 IsNullOrUndef(const Value * V) IsNullOrUndef() argument
186 IsObjCIdentifiedObject(const Value * V) IsObjCIdentifiedObject() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp73 static SmallPtrSet<Value *, 8> findAllDefs(Value *V) { in findAllDefs() argument
76 WorkList.push_back(V); in findAllDefs()
77 Defs.insert(V); in findAllDefs()
92 Value *translate(Value *V) { in translate() argument
93 assert(V->getType() == Type::getInt1Ty(V->getContext()) && in translate()
96 Type *IntTy = ST->isPPC64() ? Type::getInt64Ty(V->getContext()) in translate()
97 : Type::getInt32Ty(V->getContext()); in translate()
99 if (auto *P = dyn_cast<PHINode>(V)) { in translate()
110 IRBuilder IRB(V->getContext()); in translate()
111 if (auto *I = dyn_cast<Instruction>(V)) in translate()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h66 Constant *V = UndefValue::get(T); in SourcePred() local
67 if (Pred(Cur, V)) in SourcePred()
96 auto Pred = [Only](ArrayRef<Value *>, const Value *V) { in onlyType()
97 return V->getType() == Only; in onlyType()
106 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyType()
107 return !V->getType()->isVoidTy(); in anyType()
114 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyIntType()
115 return V->getType()->isIntegerTy(); in anyIntType()
122 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyIntOrVecIntType()
123 return V->getType()->isIntOrIntVectorTy(); in anyIntOrVecIntType()
[all …]
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dsha512-ppc.pl128 @V=($A,$B,$C,$D,$E,$F,$G,$H);
394 &ROUND_00_15($i,@V);
395 unshift(@V,pop(@V));
405 &ROUND_16_xx($i,@V);
406 unshift(@V,pop(@V));
466 my @V=map("r$_",(16..31)); # A..H
623 xor $a2,@V[3],@V[5] ; B^C, magic seed
625 xor $a3,@V[2],@V[4]
629 xor $a2,@V[3],@V[5] ; B^C, magic seed
631 xor $a3,@V[2],@V[4]
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h36 MVT V = MVT::INVALID_SIMPLE_VALUE_TYPE;
41 constexpr EVT(MVT::SimpleValueType SVT) : V(SVT) {} in EVT()
42 constexpr EVT(MVT S) : V(S) {} in EVT()
48 if (V.SimpleTy != VT.V.SimpleTy)
50 if (V.SimpleTy == MVT::INVALID_SIMPLE_VALUE_TYPE)
75 MVT M = MVT::getVectorVT(VT.V, NumElements, IsScalable);
84 MVT M = MVT::getVectorVT(VT.V, EC); in getVectorVT()
137 return V.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE; in isSimple()
147 return isSimple() ? V.isFloatingPoint() : isExtendedFloatingPoint(); in isFloatingPoint()
152 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp30 bool isRefcountedStringsHack(const VarDecl *V) { in isRefcountedStringsHack() argument
31 assert(V); in isRefcountedStringsHack()
36 QualType QT = V->getType(); in isRefcountedStringsHack()
137 bool VisitVarDecl(VarDecl *V) { in checkASTDecl()
138 auto *Init = V->getInit(); in checkASTDecl()
139 if (Init && V->isLocalVarDecl()) in checkASTDecl()
140 Checker->visitVarDecl(V, Init); in checkASTDecl()
147 if (auto *V = dyn_cast<VarDecl>(VarRef->getDecl())) in checkASTDecl() local
148 Checker->visitVarDecl(V, BO->getRHS()); in checkASTDecl()
189 void visitVarDecl(const VarDecl *V, const Expr *Value) const { in visitVarDecl() argument
[all …]
/freebsd/tools/tools/net80211/wlanwatch/
H A Dwlanwatch.c343 #define V(type) ((struct type *)(&ifan[1])) in print_rtmsg() macro
349 ether_sprintf(V(ieee80211_join_event)->iev_addr)); in print_rtmsg()
353 ether_sprintf(V(ieee80211_join_event)->iev_addr)); in print_rtmsg()
361 ether_sprintf(V(ieee80211_join_event)->iev_addr), in print_rtmsg()
367 ether_sprintf(V(ieee80211_leave_event)->iev_addr)); in print_rtmsg()
374 , ether_sprintf(V(ieee80211_replay_event)->iev_src) in print_rtmsg()
377 , ether_sprintf(V(ieee80211_replay_event)->iev_dst) in print_rtmsg()
378 , V(ieee80211_replay_event)->iev_cipher in print_rtmsg()
379 , V(ieee80211_replay_event)->iev_keyix in print_rtmsg()
380 , V(ieee80211_replay_event)->iev_keyrsc in print_rtmsg()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDependenceFlags.h145 Dependence() : V(None) {} in LLVM_COMMON_DEPENDENCE()
148 : V(translate(D, TypeDependence::UnexpandedPack, UnexpandedPack) | in LLVM_COMMON_DEPENDENCE()
155 : V(translate(D, ExprDependence::UnexpandedPack, UnexpandedPack) | in LLVM_COMMON_DEPENDENCE()
162 V ( translate(D, NNSDependence::UnexpandedPack, UnexpandedPack) | in LLVM_COMMON_DEPENDENCE()
168 : V(translate(D, TADependence::UnexpandedPack, UnexpandedPack) | in LLVM_COMMON_DEPENDENCE()
174 : V(translate(D, TNDependence::UnexpandedPack, UnexpandedPack) | in LLVM_COMMON_DEPENDENCE()
182 Result.V &= Syntactic; in LLVM_COMMON_DEPENDENCE()
190 Result.V &= Semantic; in LLVM_COMMON_DEPENDENCE()
195 return translate(V, UnexpandedPack, TypeDependence::UnexpandedPack) | in LLVM_COMMON_DEPENDENCE()
196 translate(V, Instantiation, TypeDependence::Instantiation) | in LLVM_COMMON_DEPENDENCE()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DValueSymbolTable.cpp43 ValueName *ValueSymbolTable::makeUniqueName(Value *V, in makeUniqueName() argument
47 if (auto *GV = dyn_cast<GlobalValue>(V)) { in makeUniqueName()
75 auto IterBool = vmap.insert(std::make_pair(UniqueName.str(), V)); in makeUniqueName()
83 void ValueSymbolTable::reinsertValue(Value *V) { in reinsertValue() argument
84 assert(V->hasName() && "Can't insert nameless Value into symbol table"); in reinsertValue()
87 if (vmap.insert(V->getValueName())) { in reinsertValue()
94 SmallString<256> UniqueName(V->getName().begin(), V->getName().end()); in reinsertValue()
98 V->getValueName()->Destroy(Allocator); in reinsertValue()
100 ValueName *VN = makeUniqueName(V, UniqueName); in reinsertValue()
101 V->setValueName(VN); in reinsertValue()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h113 static Value *peekThroughBitcast(Value *V, bool OneUseOnly = false) {
114 if (auto *BitCast = dyn_cast<BitCastInst>(V))
119 return V;
139 static unsigned getComplexity(Value *V) { in getComplexity() argument
140 if (isa<Instruction>(V)) { in getComplexity()
141 if (isa<CastInst>(V) || match(V, m_Neg(PatternMatch::m_Value())) || in getComplexity()
142 match(V, m_Not(PatternMatch::m_Value())) || in getComplexity()
143 match(V, m_FNeg(PatternMatch::m_Value()))) in getComplexity()
147 if (isa<Argument>(V)) in getComplexity()
149 return isa<Constant>(V) ? (isa<UndefValue>(V) ? 0 : 1) : 2; in getComplexity()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h174 inline raw_ostream &operator<<(raw_ostream &os, clang::ento::SVal V) {
175 V.dumpToStream(os);
196 static bool classof(SVal V) { return V.getKind() == UndefinedValKind; } in classof() argument
206 static bool classof(SVal V) { return !V.isUndef(); } in classof() argument
217 static bool classof(SVal V) { return V.getKind() == UnknownValKind; } in classof() argument
228 static bool classof(SVal V) { return !V.isUnknownOrUndef(); } in classof() argument
247 static bool classof(SVal V) { in classof() argument
248 return BEGIN_NonLoc <= V.getKind() && V.getKind() <= END_NonLoc; in classof()
264 static bool classof(SVal V) { in classof() argument
265 return BEGIN_Loc <= V.getKind() && V.getKind() <= END_Loc; in classof()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h40 Vector(const Vector &V) in Vector() argument
41 : Length(V.Length), Data(std::make_unique<PBQPNum []>(Length)) { in Vector()
42 std::copy(V.Data.get(), V.Data.get() + Length, Data.get()); in Vector()
46 Vector(Vector &&V) in Vector() argument
47 : Length(V.Length), Data(std::move(V.Data)) { in Vector()
48 V.Length = 0; in Vector()
52 bool operator==(const Vector &V) const {
54 if (Length != V.Length)
56 return std::equal(Data.get(), Data.get() + Length, V.Data.get());
80 Vector& operator+=(const Vector &V) {
[all …]

12345678910>>...96