Home
last modified time | relevance | path

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

12345678910>>...113

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DIntegral.h72 ReprT V;
80 template <typename T> explicit Integral(T V) : V(V) {}
86 Integral() : V(0) {}
90 explicit Integral(Integral<SrcBits, SrcSign> V) : V(V.V) {}
93 explicit Integral(const APSInt &V)
94 : V(V.isSigned() ? V.getSExtValue() : V.getZExtValue()) {}
96 bool operator<(Integral RHS) const { return V < RHS.V; }
97 bool operator>(Integral RHS) const { return V > RHS.V; }
98 bool operator<=(Integral RHS) const { return V <= RHS.V; }
99 bool operator>=(Integral RHS) const { return V >= RHS.V; }
[all …]
H A DFixedPoint.h25 llvm::APFixedPoint V;
28 FixedPoint(llvm::APFixedPoint &&V) : V(std::move(V)) {} in FixedPoint() argument
29 FixedPoint(llvm::APFixedPoint &V) : V(V) {} in FixedPoint() argument
30 FixedPoint(APInt V, llvm::FixedPointSemantics Sem) : V(V, Sem) {} in FixedPoint() argument
33 : V(APInt(0, 0ULL, false), in FixedPoint()
49 operator bool() const { return V.getBoolValue(); }
50 void print(llvm::raw_ostream &OS) const { OS << V; } in print()
52 APValue toAPValue(const ASTContext &) const { return APValue(V); } in toAPValue()
53 APSInt toAPSInt(unsigned BitWidth = 0) const { return V.getValue(); }
55 unsigned bitWidth() const { return V.getWidth(); } in bitWidth()
[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>(unsigned RHS) const { return static_cast<unsigned>(V) > RHS; }
39 Boolean operator-() const { return Boolean(V); }
40 Boolean operator-(const Boolean &Other) const { return Boolean(V - Other.V); }
42 Boolean operator!() const { return Boolean(!V); }
46 return V; in Ty()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h44 ValueType(int64_t V) : sval(V) {} in ValueType()
45 ValueType(uint64_t V) : uval(V) {} in ValueType()
46 ValueType(const char *V) : cstr(V) {} in ValueType()
65 DWARFFormValue(dwarf::Form F, const ValueType &V) : Form(F), Value(V) {} in DWARFFormValue() argument
70 LLVM_ABI static DWARFFormValue createFromSValue(dwarf::Form F, int64_t V);
71 LLVM_ABI static DWARFFormValue createFromUValue(dwarf::Form F, uint64_t V);
72 LLVM_ABI static DWARFFormValue createFromPValue(dwarf::Form F, const char *V);
182 toString(const std::optional<DWARFFormValue> &V) { in toString() argument
183 if (!V) in toString()
185 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/include/llvm/Transforms/Coroutines/
H A DCoroInstr.h65 static bool classof(const Value *V) { in classof() argument
66 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
77 static bool classof(const Value *V) { in classof() argument
78 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
110 static bool classof(const Value *V) { in classof() argument
111 return isa<CallBase>(V) && classof(cast<CallBase>(V)); in classof()
142 static bool classof(const Value *V) { in classof() argument
143 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
230 static bool classof(const Value *V) { in classof() argument
231 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
[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/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/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/IR/
H A DIntrinsicInst.h137 static bool classof(const Value *V) { in classof() argument
138 return isa<CallInst>(V) && classof(cast<CallInst>(V)); in classof()
161 static bool classof(const Value *V) { in classof() argument
162 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
188 static bool classof(const Value *V) { in classof() argument
189 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
278 return any_of(location_ops(), [](Value *V) { return isa<UndefValue>(V); }); in isKillLocation()
436 static bool classof(const Value *V) { in classof() argument
437 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
461 static bool classof(const Value *V) { in classof() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h77 inline const Value *GetUnderlyingObjCPtr(const Value *V) { in GetUnderlyingObjCPtr() argument
79 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr()
80 if (!IsForwarding(GetBasicARCInstKind(V))) in GetUnderlyingObjCPtr()
82 V = cast<CallInst>(V)->getArgOperand(0); in GetUnderlyingObjCPtr()
85 return V; in GetUnderlyingObjCPtr()
90 const Value *V, in GetUnderlyingObjCPtrCached() argument
93 auto InCache = Cache.lookup(V); in GetUnderlyingObjCPtrCached()
97 const Value *Computed = GetUnderlyingObjCPtr(V); in GetUnderlyingObjCPtrCached()
98 Cache[V] = in GetUnderlyingObjCPtrCached()
99 std::make_pair(const_cast<Value *>(V), const_cast<Value *>(Computed)); in GetUnderlyingObjCPtrCached()
[all …]
H A DValueTracking.h61 LLVM_ABI void computeKnownBits(const Value *V, KnownBits &Known,
69 LLVM_ABI KnownBits computeKnownBits(const Value *V, const DataLayout &DL,
77 LLVM_ABI KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts,
85 LLVM_ABI KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts,
88 LLVM_ABI KnownBits computeKnownBits(const Value *V, const SimplifyQuery &Q,
91 LLVM_ABI void computeKnownBits(const Value *V, KnownBits &Known,
101 LLVM_ABI void computeKnownBitsFromContext(const Value *V, KnownBits &Known,
129 LLVM_ABI bool isKnownToBeAPowerOfTwo(const Value *V, const DataLayout &DL,
137 LLVM_ABI bool isKnownToBeAPowerOfTwo(const Value *V, bool OrZero,
151 LLVM_ABI bool isKnownNonZero(const Value *V, const SimplifyQuery &Q,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp70 static SmallPtrSet<Value *, 8> findAllDefs(Value *V) { in findAllDefs() argument
73 WorkList.push_back(V); in findAllDefs()
74 Defs.insert(V); in findAllDefs()
89 Value *translate(Value *V) { in translate() argument
90 assert(V->getType() == Type::getInt1Ty(V->getContext()) && in translate()
93 Type *IntTy = ST->isPPC64() ? Type::getInt64Ty(V->getContext()) in translate()
94 : Type::getInt32Ty(V->getContext()); in translate()
96 if (auto *P = dyn_cast<PHINode>(V)) { in translate()
107 IRBuilder IRB(V->getContext()); in translate()
108 if (auto *I = dyn_cast<Instruction>(V)) in translate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp171 static bool globalHasNVVMAnnotation(const Value &V, const std::string &Prop) { in globalHasNVVMAnnotation() argument
172 if (const auto *GV = dyn_cast<GlobalValue>(&V)) in globalHasNVVMAnnotation()
206 SmallVector<unsigned, 3> V; in getFnAttrParsedVector() local
219 V.push_back(IntVal); in getFnAttrParsedVector()
223 return V; in getFnAttrParsedVector()
226 static std::optional<uint64_t> getVectorProduct(ArrayRef<unsigned> V) { in getVectorProduct() argument
227 if (V.empty()) in getVectorProduct()
230 return std::accumulate(V.begin(), V.end(), 1, std::multiplies<uint64_t>{}); in getVectorProduct()
260 bool isTexture(const Value &V) { return globalHasNVVMAnnotation(V, "texture"); } in isTexture() argument
262 bool isSurface(const Value &V) { return globalHasNVVMAnnotation(V, "surface"); } in isSurface() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h67 Constant *V = PoisonValue::get(T); in SourcePred() local
68 if (Pred(Cur, V)) in SourcePred()
97 auto Pred = [Only](ArrayRef<Value *>, const Value *V) { in onlyType()
98 return V->getType() == Only; in onlyType()
107 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyType()
108 return !V->getType()->isVoidTy(); in anyType()
115 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyIntType()
116 return V->getType()->isIntegerTy(); in anyIntType()
123 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyIntOrVecIntType()
124 return V->getType()->isIntOrIntVectorTy(); in anyIntOrVecIntType()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h37 MVT V = MVT::INVALID_SIMPLE_VALUE_TYPE;
42 constexpr EVT(MVT::SimpleValueType SVT) : V(SVT) {} in EVT()
43 constexpr EVT(MVT S) : V(S) {} in EVT()
49 if (V.SimpleTy != VT.V.SimpleTy)
51 if (V.SimpleTy == MVT::INVALID_SIMPLE_VALUE_TYPE)
76 MVT M = MVT::getVectorVT(VT.V, NumElements, IsScalable);
85 MVT M = MVT::getVectorVT(VT.V, EC); in getVectorVT()
138 return V.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE; in isSimple()
148 return isSimple() ? V.isFloatingPoint() : isExtendedFloatingPoint(); in isFloatingPoint()
153 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
[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/lldb/source/Plugins/Protocol/MCP/
H A DProtocol.cpp17 std::optional<json::Value> &V, json::Path P) { in mapRaw() argument
25 V = std::move(*E); in mapRaw()
36 bool fromJSON(const llvm::json::Value &V, Request &R, llvm::json::Path P) { in fromJSON() argument
37 llvm::json::ObjectMapper O(V, P); in fromJSON()
40 return mapRaw(V, "params", R.params, P); in fromJSON()
50 bool fromJSON(const llvm::json::Value &V, ErrorInfo &EI, llvm::json::Path P) { in fromJSON() argument
51 llvm::json::ObjectMapper O(V, P); in fromJSON()
60 bool fromJSON(const llvm::json::Value &V, Error &E, llvm::json::Path P) { in fromJSON() argument
61 llvm::json::ObjectMapper O(V, P); in fromJSON()
74 bool fromJSON(const llvm::json::Value &V, Response &R, llvm::json::Path P) { in fromJSON() argument
[all …]
/freebsd/tools/tools/net80211/wlanwatch/
H A Dwlanwatch.c339 #define V(type) ((struct type *)(void *)(&ifan[1])) in print_rtmsg() macro
345 ether_sprintf(V(ieee80211_join_event)->iev_addr)); in print_rtmsg()
349 ether_sprintf(V(ieee80211_join_event)->iev_addr)); in print_rtmsg()
357 ether_sprintf(V(ieee80211_join_event)->iev_addr), in print_rtmsg()
363 ether_sprintf(V(ieee80211_leave_event)->iev_addr)); in print_rtmsg()
370 , ether_sprintf(V(ieee80211_replay_event)->iev_src) in print_rtmsg()
374 , ether_sprintf(V(ieee80211_replay_event)->iev_dst) in print_rtmsg()
375 , V(ieee80211_replay_event)->iev_cipher in print_rtmsg()
376 , V(ieee80211_replay_event)->iev_keyix in print_rtmsg()
377 , V(ieee80211_replay_event)->iev_keyrsc in print_rtmsg()
[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 …]
H A DValue.cpp272 static bool getSymTab(Value *V, ValueSymbolTable *&ST) { in getSymTab() argument
274 if (Instruction *I = dyn_cast<Instruction>(V)) { in getSymTab()
278 } else if (BasicBlock *BB = dyn_cast<BasicBlock>(V)) { in getSymTab()
281 } else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) { in getSymTab()
284 } else if (Argument *A = dyn_cast<Argument>(V)) { in getSymTab()
288 assert(isa<Constant>(V) && "Unknown value type!"); in getSymTab()
396 void Value::takeName(Value *V) { in takeName() argument
397 assert(V != this && "Illegal call to this->takeName(this)!"); in takeName()
405 if (V->hasName()) V->setName(""); in takeName()
418 if (!V->hasName()) return; in takeName()
[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/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h177 inline raw_ostream &operator<<(raw_ostream &os, clang::ento::SVal V) {
178 V.dumpToStream(os);
199 static bool classof(SVal V) { return V.getKind() == UndefinedValKind; } in classof() argument
209 static bool classof(SVal V) { return !V.isUndef(); } in classof() argument
220 static bool classof(SVal V) { return V.getKind() == UnknownValKind; } in classof() argument
231 static bool classof(SVal V) { return !V.isUnknownOrUndef(); } in classof() argument
250 static bool classof(SVal V) { in classof() argument
251 return BEGIN_NonLoc <= V.getKind() && V.getKind() <= END_NonLoc; in classof()
267 static bool classof(SVal V) { in classof() argument
268 return BEGIN_Loc <= V.getKind() && V.getKind() <= END_Loc; in classof()
[all …]

12345678910>>...113