/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | IntegralAP.h | 62 IntegralAP(APInt V) : V(V) {} in IntegralAP() argument 72 return V.ugt(RHS.V); 73 return V.sgt(RHS.V); 78 return V.sge(RHS.V); 83 return V.slt(RHS.V); 88 return V.ult(RHS.V); 169 if (V.slt(RHS.V)) in compare() 171 if (V.sgt(RHS.V)) in compare() 177 if (V.ult(RHS.V)) in compare() 179 if (V.ugt(RHS.V)) in compare() [all …]
|
H A D | Integral.h | 63 template <typename T> explicit Integral(T V) : V(V) {} 73 explicit Integral(Integral<SrcBits, SrcSign> V) : V(V.V) {} 77 : V(V.isSigned() ? V.getSExtValue() : V.getZExtValue()) {} 135 return Compare(V, RHS.V); 201 return CheckAddUB(A.V, B.V, R->V); 205 return CheckSubUB(A.V, B.V, R->V); 209 return CheckMulUB(A.V, B.V, R->V); 213 *R = Integral(A.V % B.V); 218 *R = Integral(A.V / B.V); 223 *R = Integral(A.V & B.V); [all …]
|
H A D | Boolean.h | 28 bool V; 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; } 80 return Compare(V, RHS.V); in compare() 131 *R = Boolean(A.V || B.V); in add() 136 *R = Boolean(A.V ^ B.V); in sub() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAddressingModes.h | 168 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V; in isSOImmTwoPartVal() 173 V = llvm::rotr<uint32_t>(~255U, getSOImmValRotate(V)) & V; in isSOImmTwoPartVal() 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() 223 V = (~255U << getThumbImmValShift(V)) & V; in isThumbImmShiftedVal() 242 V = (~65535U << getThumbImm16ValShift(V)) & V; in isThumbImm16ShiftedVal() 249 return V >> getThumbImmValShift(V); in getThumbImmNonShiftedVal() 269 Vs = ((V & 0xff) == 0) ? V >> 8 : V; in getT2SOImmValSplatVal() 335 V = llvm::rotr<uint32_t>(~255U, getT2SOImmValRotate(V)) & V; in isT2SOImmTwoPartVal() 343 V = Imm; in isT2SOImmTwoPartVal() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFFormValue.h | 43 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() 180 if (!V) in toString() 229 if (V) in toUnsigned() 252 if (V) in toReference() 274 if (V) in toSigned() 297 if (V) in toAddress() 304 if (V) in toSectionedAddress() 327 if (V) in toSectionOffset() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/XRay/ |
H A D | FDRRecords.cpp | 18 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 D | TypePromotion.cpp | 381 if (!isa<IntegerType>(V->getType()) || isSink(V)) in shouldPromote() 521 if (!isa<Instruction>(V) || !isa<IntegerType>(V->getType())) in TruncateSinks() 524 if ((!Promoted.count(V) && !NewInsts.count(V)) || Sources.count(V)) in TruncateSinks() 626 if (!isa<TruncInst>(V) || Sources.count(V)) in ConvertTruncs() 665 if (!isa<TruncInst>(V) || Sources.count(V)) in Mutate() 749 } else if (isa<Constant>(V) && !isa<ConstantExpr>(V)) { in isSupportedValue() 782 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote() 806 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote() 822 if (!isa<Instruction>(V) && !isSource(V)) in TryToPromote() 842 if (!isSink(V) && !isSource(V)) { in TryToPromote() [all …]
|
H A D | IntrinsicLowering.cpp | 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() 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() 97 Value *Tmp5 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 144 return V; in LowerBSWAP() 177 V = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 64), in LowerCTPOP() 195 V = Builder.CreateOr(V, ShVal, "ctlz.step"); in LowerCTLZ() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroInstr.h | 65 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 77 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 108 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 196 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 244 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 257 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 270 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 321 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 340 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 359 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicInst.h | 135 return isa<CallInst>(V) && classof(cast<CallInst>(V)); in classof() 159 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 186 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 425 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 450 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 474 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 525 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 545 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 603 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 650 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() [all …]
|
H A D | Constants.h | 69 static bool classof(const Value *V) { in classof() argument 116 return get(Ty, V, true); in getSigned() 119 return get(Ty, V, true); in getSigned() 172 bool equalsInt(uint64_t V) const { return Val == V; } in equalsInt() argument 252 static bool classof(const Value *V) { in classof() argument 319 bool isExactlyValue(double V) const { in isExactlyValue() argument 321 APFloat FV(V); in isExactlyValue() 327 static bool classof(const Value *V) { in classof() argument 368 static bool classof(const Value *V) { in classof() argument 462 return get(getTypeForElements(V, Packed), V); [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | PriorityWorklist.h | 68 return V.empty(); in empty() 85 return V.back(); in back() 95 V.push_back(X); in insert() 121 V.insert(V.end(), std::begin(Input), std::end(Input)); in insert() 139 V[i] = T(); in insert() 149 V.pop_back(); in pop_back() 150 } while (!V.empty() && V.back() == T()); in pop_back() 171 } while (!V.empty() && V.back() == T()); in erase() 201 V.erase(E, V.end()); in erase_if() 213 V.clear(); in clear() [all …]
|
H A D | ScopedHashTable.h | 45 template <typename K, typename V> 50 V Val; 56 const V &getValue() const { return Val; } in getValue() 57 V &getValue() { return Val; } in getValue() 94 ScopedHashTableVal<K, V> *LastValInScope; 119 ScopedHashTableVal<K, V> *Node; 124 V &operator*() const { 128 V *operator->() const { 162 using ValTy = ScopedHashTableVal<K, V>; 185 V lookup(const K &Key) const { in lookup() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ObjCARCAnalysisUtils.h | 71 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr() 74 V = cast<CallInst>(V)->getArgOperand(0); in GetUnderlyingObjCPtr() 77 return V; in GetUnderlyingObjCPtr() 82 const Value *V, in GetUnderlyingObjCPtrCached() argument 90 Cache[V] = in GetUnderlyingObjCPtrCached() 112 V = V->stripPointerCasts(); in GetRCIdentityRoot() 115 V = cast<CallInst>(V)->getArgOperand(0); in GetRCIdentityRoot() 117 return V; in GetRCIdentityRoot() 136 return isa<ConstantPointerNull>(V) || isa<UndefValue>(V); in IsNullOrUndef() 190 if (isa<CallInst>(V) || isa<InvokeInst>(V) || in IsObjCIdentifiedObject() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCBoolRetToInt.cpp | 76 WorkList.push_back(V); in findAllDefs() 77 Defs.insert(V); in findAllDefs() 93 assert(V->getType() == Type::getInt1Ty(V->getContext()) && in translate() 141 return isa<ReturnInst>(V) || isa<CallInst>(V) || isa<PHINode>(V) || in getPromotablePHINodes() 145 return isa<Constant>(V) || isa<Argument>(V) || isa<CallInst>(V) || in getPromotablePHINodes() 146 isa<PHINode>(V); in getPromotablePHINodes() 224 if (llvm::none_of(Defs, [](Value *V) { return isa<Instruction>(V); })) in runOnUse() argument 230 for (Value *V : Defs) in runOnUse() 231 if (!isa<PHINode>(V) && !isa<Constant>(V) && in runOnUse() 232 !isa<Argument>(V) && !isa<CallInst>(V)) in runOnUse() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
H A D | OpDescriptor.h | 66 Constant *V = UndefValue::get(T); in SourcePred() local 67 if (Pred(Cur, V)) in SourcePred() 97 return V->getType() == Only; in onlyType() 107 return !V->getType()->isVoidTy(); in anyType() 115 return V->getType()->isIntegerTy(); in anyIntType() 152 return V->getType()->isPointerTy() && !V->isSwiftError(); in anyPtrType() 166 if (V->isSwiftError()) in sizedPtrType() 169 return V->getType()->isPointerTy(); in sizedPtrType() 236 if (isa<ArrayType>(V->getType())) in anyAggregateType() 240 if (isa<StructType>(V->getType())) in anyAggregateType() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SVals.h | 175 V.dumpToStream(os); 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 238 /*implicit*/ KnownSVal(DefinedSVal V) : SVal(V) {} in KnownSVal() argument 239 /*implicit*/ KnownSVal(UndefinedVal V) : SVal(V) {} in KnownSVal() argument 240 static bool classof(SVal V) { return !V.isUnknown(); } in classof() argument 256 return BEGIN_NonLoc <= V.getKind() && V.getKind() <= END_NonLoc; in classof() 273 return BEGIN_Loc <= V.getKind() && V.getKind() <= END_Loc; in classof() 301 static bool classof(SVal V) { return V.getKind() == SymbolValKind; } in classof() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 36 MVT V = MVT::INVALID_SIMPLE_VALUE_TYPE; 42 constexpr EVT(MVT S) : V(S) {} in EVT() 48 if (V.SimpleTy != VT.V.SimpleTy) 84 MVT M = MVT::getVectorVT(VT.V, EC); in getVectorVT() 222 return (V==MVT::iAny || V==MVT::fAny || V==MVT::vAny || V==MVT::iPTRAny); in isOverloaded() 301 return V; in getSimpleVT() 353 return V.getSizeInBits(); in getSizeInBits() 490 return V.SimpleTy; in getRawBits() 499 if (L.V.SimpleTy == R.V.SimpleTy) in operator() 502 return L.V.SimpleTy < R.V.SimpleTy; in operator() [all …]
|
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha512-ppc.pl | 395 unshift(@V,pop(@V)); 406 unshift(@V,pop(@V)); 625 xor $a3,@V[2],@V[4] 631 xor $a3,@V[2],@V[4] 641 unshift(@V,pop(@V)); unshift(@V,pop(@V)); 653 unshift(@V,pop(@V)); unshift(@V,pop(@V)); 671 addc @V[1],@V[1],$t1 673 adde @V[0],@V[0],$t0 675 addc @V[3],@V[3],$t3 677 adde @V[2],@V[2],$t2 [all …]
|
/freebsd/tools/tools/net80211/wlanwatch/ |
H A D | wlanwatch.c | 343 #define V(type) ((struct type *)(&ifan[1])) in print_rtmsg() macro 400 , V(ieee80211_csa_event)->iev_ieee in print_rtmsg() 401 , V(ieee80211_csa_event)->iev_freq in print_rtmsg() 402 , V(ieee80211_csa_event)->iev_flags in print_rtmsg() 403 , V(ieee80211_csa_event)->iev_mode in print_rtmsg() 404 , V(ieee80211_csa_event)->iev_count in print_rtmsg() 410 , V(ieee80211_cac_event)->iev_ieee in print_rtmsg() 411 , V(ieee80211_cac_event)->iev_freq in print_rtmsg() 412 , V(ieee80211_cac_event)->iev_flags in print_rtmsg() 429 V(ieee80211_cac_event)->iev_type); in print_rtmsg() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ValueSymbolTable.cpp | 43 ValueName *ValueSymbolTable::makeUniqueName(Value *V, in makeUniqueName() argument 50 if (auto *GV = dyn_cast<GlobalValue>(V)) { in makeUniqueName() 72 void ValueSymbolTable::reinsertValue(Value *V) { in reinsertValue() argument 76 if (vmap.insert(V->getValueName())) { in reinsertValue() 83 SmallString<256> UniqueName(V->getName().begin(), V->getName().end()); in reinsertValue() 87 V->getValueName()->Destroy(Allocator); in reinsertValue() 89 ValueName *VN = makeUniqueName(V, UniqueName); in reinsertValue() 90 V->setValueName(VN); in reinsertValue() 93 void ValueSymbolTable::removeValueName(ValueName *V) { in removeValueName() argument 96 vmap.remove(V); in removeValueName() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DependenceFlags.h | 145 Dependence() : V(None) {} in LLVM_COMMON_DEPENDENCE() 182 Result.V &= Syntactic; in LLVM_COMMON_DEPENDENCE() 190 Result.V &= Semantic; in LLVM_COMMON_DEPENDENCE() 198 translate(V, Error, TypeDependence::Error) | in LLVM_COMMON_DEPENDENCE() 205 translate(V, Type, ExprDependence::Type) | in LLVM_COMMON_DEPENDENCE() 206 translate(V, Value, ExprDependence::Value) | in LLVM_COMMON_DEPENDENCE() 207 translate(V, Error, ExprDependence::Error); in LLVM_COMMON_DEPENDENCE() 214 translate(V, Error, NNSDependence::Error); in LLVM_COMMON_DEPENDENCE() 221 translate(V, Error, TADependence::Error); in LLVM_COMMON_DEPENDENCE() 228 translate(V, Error, TNDependence::Error); in LLVM_COMMON_DEPENDENCE() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
H A D | InstCombiner.h | 118 return V; 139 if (isa<Instruction>(V)) { in getComplexity() 140 if (isa<CastInst>(V) || match(V, m_Neg(PatternMatch::m_Value())) || in getComplexity() 146 if (isa<Argument>(V)) in getComplexity() 148 return isa<Constant>(V) ? (isa<UndefValue>(V) ? 0 : 1) : 2; in getComplexity() 288 for (Use &U : V->uses()) { in canFreelyInvertAllUsersOf() 433 if (&I == V) in replaceInstUsesWith() 440 if (V->use_empty() && isa<Instruction>(V) && !V->hasName() && I.hasName()) in replaceInstUsesWith() 441 V->takeName(&I); in replaceInstUsesWith() 443 I.replaceAllUsesWith(V); in replaceInstUsesWith() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | UncountedLocalVarsChecker.cpp | 53 assert(V); in isRefcountedStringsHack() 58 QualType QT = V->getType(); in isRefcountedStringsHack() 154 bool VisitVarDecl(VarDecl *V) { in checkASTDecl() 155 Checker->visitVarDecl(V); in checkASTDecl() 165 if (shouldSkipVarDecl(V)) in visitVarDecl() 213 reportBug(V); in visitVarDecl() 218 assert(V); in shouldSkipVarDecl() 219 if (!V->isLocalVarDecl()) in shouldSkipVarDecl() 222 if (isDeclaredInForOrIf(V)) in shouldSkipVarDecl() 229 assert(V); in reportBug() [all …]
|
/freebsd/sys/dev/dcons/ |
H A D | dcons.h | 40 #define V volatile macro 42 #define V macro 51 V u_int32_t version; 54 V u_int32_t osize[DCONS_NPORT]; 55 V u_int32_t isize[DCONS_NPORT]; 57 V u_int32_t magic; 61 V u_int32_t optr[DCONS_NPORT]; 62 V u_int32_t iptr[DCONS_NPORT]; 63 V char buf[0]; 81 V u_int32_t *ptr; [all …]
|