Home
last modified time | relevance | path

Searched refs:To (Results 1 – 25 of 1197) sorted by relevance

12345678910>>...48

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCasting.h63 template <typename To, typename From, typename Enabler = void> struct isa_impl {
64 static inline bool doit(const From &Val) { return To::classof(&Val); }
68 template <typename To, typename From>
69 struct isa_impl<To, From, std::enable_if_t<std::is_base_of_v<To, From>>> {
73 template <typename To, typename From> struct isa_impl_cl {
75 return isa_impl<To, From>::doit(Val);
79 template <typename To, typename From> struct isa_impl_cl<To, const From> {
81 return isa_impl<To, From>::doit(Val);
85 template <typename To, typename From>
86 struct isa_impl_cl<To, const std::unique_ptr<From>> {
[all …]
H A DGenericDomTreeConstruction.h633 const NodePtr From, const NodePtr To) { in InsertEdge()
636 assert(To && "Cannot be a nullptr"); in InsertEdge()
638 << BlockNamePrinter(To) << "\n"); in InsertEdge()
653 const TreeNodePtr ToTN = DT.getNode(To); in InsertEdge()
655 InsertUnreachable(DT, BUI, FromTN, To); in InsertEdge()
664 const TreeNodePtr To) { in UpdateRootsBeforeInsertion()
668 if (!DT.isVirtualRoot(To->getIDom())) return false; in UpdateRootsBeforeInsertion()
670 if (!llvm::is_contained(DT.Roots, To->getBlock())) in UpdateRootsBeforeInsertion()
673 LLVM_DEBUG(dbgs() << "\t\tAfter the insertion, " << BlockNamePrinter(To) in UpdateRootsBeforeInsertion()
721 const TreeNodePtr From, const TreeNodePtr To) { in InsertReachable()
[all …]
H A DCFGUpdate.h34 Update(UpdateKind Kind, NodePtr From, NodePtr To) in Update() argument
35 : From(From), ToAndKind(To, Kind) {} in Update()
76 NodePtr To = U.getTo();
78 std::swap(From, To); // Reverse edge for postdominators.
80 Operations[{From, To}] += (U.getKind() == UpdateKind::Insert ? 1 : -1);
/freebsd/crypto/openssl/demos/cms/
H A Dcomp.txt3 Some Text To be Compressed
4 Some Text To be Compressed
5 Some Text To be Compressed
6 Some Text To be Compressed
7 Some Text To be Compressed
8 Some Text To be Compressed
9 Some Text To be Compressed
10 Some Text To be Compressed
11 Some Text To be Compressed
12 Some Text To be Compressed
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DDynamicCastInfo.h22 : From(from), To(to), ResultKind(resultKind) {} in DynamicCastInfo()
25 QualType to() const { return To; } in to()
28 return From == from && To == to; in equals()
35 return From == RHS.From && To == RHS.To;
38 return From < RHS.From && To < RHS.To;
43 ID.Add(To); in Profile()
48 QualType From, To;
H A DRangedConstraintManager.h31 Range(const llvm::APSInt &From, const llvm::APSInt &To) : Impl(&From, &To) { in Range() argument
32 assert(From <= To); in Range()
38 return From() <= Point && Point <= To(); in Includes()
41 const llvm::APSInt &To() const { return *Impl.second; } in To() function
43 return &From() == &To() ? &From() : nullptr; in getConcreteValue()
48 ID.AddPointer(&To()); in Profile()
166 RangeSet unite(RangeSet Original, llvm::APSInt From, llvm::APSInt To);
173 RangeSet getRangeSet(const llvm::APSInt &From, const llvm::APSInt &To) { in getRangeSet() argument
174 return getRangeSet(Range(From, To)); in getRangeSet()
314 RangeSet(Factory &F, const llvm::APSInt &From, const llvm::APSInt &To) in RangeSet() argument
[all …]
H A DSVals.h477 template <typename To, typename From>
479 To, From,
481 : public CastIsPossible<To, ::clang::ento::SVal> {
483 To, From,
486 return To::classof(*static_cast<const ::clang::ento::SVal *>(&V));
488 static std::optional<To> castFailed() { return std::optional<To>{}; }
489 static To doCast(const From &f) {
490 return *static_cast<const To *>(cast<::clang::ento::SVal>(&f));
492 static std::optional<To> doCastIfPossible(const From &f) {
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerUnion.h229 template <typename To> static inline bool isPossible(From &F) {
230 return F.Val.getInt() == FirstIndexOfType<To, PTs...>::value;
233 template <typename To> static To doCast(From &F) {
234 assert(isPossible<To>(F) && "cast to an incompatible type!");
235 return PointerLikeTypeTraits<To>::getFromVoidPointer(F.Val.getPointer());
240 template <typename To, typename... PTs>
241 struct CastInfo<To, PointerUnion<PTs...>>
242 : public DefaultDoCastIfPossible<To, PointerUnion<PTs...>,
243 CastInfo<To, PointerUnion<PTs...>>> {
248 return Impl::template isPossible<To>(f);
[all …]
H A Diterator_range.h27 template <typename From, typename To, typename = void>
30 template <typename From, typename To>
32 From, To,
33 std::void_t<decltype(static_cast<To>(
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.cpp240 DGNode &To = Nodes[ToIID]; in propagateThroughEdges() local
245 if (Cost > To.Cost) { in propagateThroughEdges()
246 To.CriticalPredecessor = DepEdge; in propagateThroughEdges()
247 To.Cost = Cost; in propagateThroughEdges()
248 To.Depth = N.Depth + 1; in propagateThroughEdges()
250 To.NumVisitedPredecessors++; in propagateThroughEdges()
251 if (To.NumVisitedPredecessors == To.NumPredecessors) in propagateThroughEdges()
422 void DependencyGraph::addDependency(unsigned From, unsigned To, in addDependency() argument
425 DGNode &NodeTo = Nodes[To]; in addDependency()
428 auto It = find_if(Vec, [To, Dep](DependencyEdge &DE) { in addDependency()
[all …]
H A DBottleneckAnalysis.h238 void addDependency(unsigned From, unsigned To,
254 void addRegisterDep(unsigned From, unsigned To, unsigned RegID, in addRegisterDep() argument
256 addDependency(From, To, {DependencyEdge::DT_REGISTER, RegID, Cost}); in addRegisterDep()
259 void addMemoryDep(unsigned From, unsigned To, unsigned Cost) { in addMemoryDep() argument
260 addDependency(From, To, {DependencyEdge::DT_MEMORY, /* unused */ 0, Cost}); in addMemoryDep()
263 void addResourceDep(unsigned From, unsigned To, uint64_t Mask, in addResourceDep() argument
265 addDependency(From, To, {DependencyEdge::DT_RESOURCE, Mask, Cost}); in addResourceDep()
316 void addRegisterDep(unsigned From, unsigned To, unsigned RegID, unsigned Cy);
317 void addMemoryDep(unsigned From, unsigned To, unsigned Cy);
318 void addResourceDep(unsigned From, unsigned To, uint64_t Mask, unsigned Cy);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp155 void VarBypassDetector::Detect(unsigned From, unsigned To) { in Detect() argument
156 while (From != To) { in Detect()
157 if (From < To) { in Detect()
158 assert(Scopes[To].first < To); in Detect()
159 const auto &ScopeTo = Scopes[To]; in Detect()
160 To = ScopeTo.first; in Detect()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp23 CanQualType To, in compareTypesSimple() argument
27 if (!To.isAtLeastAsQualifiedAs(From)) in compareTypesSimple()
31 To = To.getNonReferenceType(); in compareTypesSimple()
34 if (isa<PointerType>(From) && isa<PointerType>(To)) { in compareTypesSimple()
37 To = S.Context.getCanonicalType( in compareTypesSimple()
38 (cast<PointerType>(To))->getPointeeType()); in compareTypesSimple()
42 const CanQualType ToUnq = To.getUnqualifiedType(); in compareTypesSimple()
45 To.isAtLeastAsQualifiedAs(From)) in compareTypesSimple()
/freebsd/tools/test/stress2/
H A DREADME13 To run the full test suite type "make test" in the stress2 directory.
15 To run a subset of tests, go to the stress2/misc directory.
16 To run for example all tmpfs tests, type ./all.sh -o $(grep -l tmpfs *.sh)
17 To run fdatasync.sh for one hour, type ./all.sh -m 60 fdatasync.sh"
18 To run dup2.sh three times, type ./all.sh -l 3 dup2.sh
/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDag.cpp
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Drelease.h31 // Releases [From, To) range of pages back to OS. Note that `From` and `To`
33 void releasePageRangeToOS(uptr From, uptr To) { in releasePageRangeToOS() argument
34 const uptr Size = To - From; in releasePageRangeToOS()
61 // Releases [From, To) range of pages back to OS.
62 void releasePageRangeToOS(uptr From, uptr To) { in releasePageRangeToOS() argument
63 const uptr Size = To - From; in releasePageRangeToOS()
89 void releasePageRangeToOS(uptr From, uptr To) {
90 DCHECK_EQ((To - From) % getPageSizeCached(), 0U);
91 ReleasedPagesCount += (To
273 incRange(uptr Region,uptr From,uptr To) incRange() argument
291 setAsAllCountedRange(uptr Region,uptr From,uptr To) setAsAllCountedRange() argument
[all...]
/freebsd/usr.bin/fortune/datfiles/
H A Dfreebsd-tips138 "/search_word". To repeat the same search, type "n" for next or "p" for
161 Need to see the calendar for this month? Simply type "cal". To see the
190 learned it, but somewhat user-unfriendly. To use ee (an easier but less
196 To change an environment variable in /bin/sh use:
201 To change an environment variable in tcsh you use: setenv NAME "value"
204 To clear the screen, use "clear". To re-display your screen buffer, press
211 To determine whether a file is a text file, executable, or some other type
217 To do a fast search for a file, try
224 To erase a line you've written at the command prompt, use "Ctrl-U".
227 To find out the hostname associated with an IP address, use
[all …]
/freebsd/contrib/dialog/samples/copifuncs/
H A Difpatch18 if (!strcasecmp(msg->key,"Return-Receipt-To")) return 1;
29 if (!strcasecmp(msg->key,"To"))
36 - if (!strcasecmp(msg->key,"Reply-To")) return 2;
37 + if (!strcasecmp(msg->key,"Reply-To"))
50 if (!strcasecmp(msg->key,"Comment-To")) return 0;
51 if (!strcasecmp(msg->key,"X-Comment-To")) return 0;
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h183 template <TypeKind kFromKind, typename From, TypeKind kToKind, typename To>
195 (((sizeof(From) < sizeof(To)) &&
196 !(std::is_signed<From>::value && !std::is_signed<To>::value)) ||
199 ((sizeof(From) == sizeof(To)) &&
200 (std::is_signed<From>::value == std::is_signed<To>::value)))
204 : (kFromKind == kFloatingPoint && (sizeof(From) <= sizeof(To))) ? true
216 template <typename From, typename To>
219 GMOCK_KIND_OF_(To), To>;
/freebsd/contrib/unifdef/
H A DINSTALL10 To build on Unix, type `make`. You can adjust the compilation options
13 To install in your home directory, type `make install`
22 To build with MinGW, type `mingw32-make -f win32/Makefile.mingw`.
26 pre-generated version.h but the git repository does not. To build from
29 To update version.h, right-click on the fanf2/unifdef repository and
/freebsd/sys/contrib/device-tree/src/arm64/apple/
H A Dt6002.dtsi72 cpu-release-addr = <0 0>; /* To be filled by loader */
86 cpu-release-addr = <0 0>; /* To be filled by loader */
100 cpu-release-addr = <0 0>; /* To be filled by loader */
114 cpu-release-addr = <0 0>; /* To be filled by loader */
128 cpu-release-addr = <0 0>; /* To be filled by loader */
142 cpu-release-addr = <0 0>; /* To be filled by loader */
156 cpu-release-addr = <0 0>; /* To be filled by loader */
170 cpu-release-addr = <0 0>; /* To be filled by loader */
184 cpu-release-addr = <0 0>; /* To be filled by loader */
198 cpu-release-addr = <0 0>; /* To be filled by loader */
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLocal.h358 bool replaceAllDbgUsesWith(Instruction &From, Value &To, Instruction &DomPoint,
433 unsigned replaceNonLocalUsesWith(Instruction *From, Value *To);
437 unsigned replaceDominatedUsesWith(Value *From, Value *To, DominatorTree &DT,
441 unsigned replaceDominatedUsesWith(Value *From, Value *To, DominatorTree &DT,
447 Value *From, Value *To, DominatorTree &DT, const BasicBlockEdge &Edge,
448 function_ref<bool(const Use &U, const Value *To)> ShouldReplace);
453 Value *From, Value *To, DominatorTree &DT, const BasicBlock *BB,
454 function_ref<bool(const Use &U, const Value *To)> ShouldReplace);
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/tests/
H A DNSanUnitTest.cpp31 const FT To = 2 * X; in TestFT() local
35 Y = next(Y, To); in TestFT()
38 Y = next(Y, To); in TestFT()
41 Y = next(Y, To); in TestFT()
/freebsd/contrib/libcbor/examples/bazel/
H A DREADME.md7 To build the project:
15 To test the code:
23 To run the demo:
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp155 llvm::APSInt To) { in unite() argument
157 Range(ValueFactory.getValue(From), ValueFactory.getValue(To))); in unite()
188 if (First->To() > Second->To()) { in unite()
248 while (First->To() >= Second->To()) { in unite()
256 Result.emplace_back(UnionStart, First->To()); in unite()
269 if (First->To() < Second->From() - One) in unite()
283 Result.emplace_back(UnionStart, Second->To()); in unite()
305 Result.emplace_back(UnionStart, First->To()); in unite()
354 return std::prev(end())->To(); in getMaxValue()
544 if (Second->From() > First->To()) { in intersect()
[all …]

12345678910>>...48