Home
last modified time | relevance | path

Searched refs:doCast (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCasting.h313 return Derived::doCast(f);
335 static inline To doCast(From *f) { return To(f); }
348 static inline CastResultType doCast(std::unique_ptr<From> &&f) {
357 return doCast(std::move(f));
372 static inline std::optional<To> doCast(const From &f) { return To(f); }
401 static inline decltype(auto) doCast(const From &f) {
402 return ForwardTo::doCast(const_cast<NonConstFrom>(f));
428 static inline decltype(auto) doCast(const From &f) {
429 return *ForwardTo::doCast(&f);
481 static inline CastReturnType doCast(const From &f) {
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h670 template <typename T, T (*doCast)(llvm::SMTSolverRef &Solver, const T &,
684 LHS = (*doCast)(Solver, LHS, NewTy, NewBitWidth, LTy, LBitWidth); in doIntTypeConversion()
691 RHS = (*doCast)(Solver, RHS, NewTy, NewBitWidth, RTy, RBitWidth); in doIntTypeConversion()
708 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
711 LHS = (*doCast)(Solver, LHS, RTy, RBitWidth, LTy, LBitWidth); in doIntTypeConversion()
718 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
721 LHS = (*doCast)(Solver, LHS, RTy, RBitWidth, LTy, LBitWidth); in doIntTypeConversion()
729 RHS = (doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
732 LHS = (*doCast)(Solver, LHS, RTy, RBitWidth, LTy, LBitWidth); in doIntTypeConversion()
742 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
[all …]
H A DSVals.h489 static To doCast(const From &f) {
495 return doCast(f);
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerUnion.h233 template <typename To> static To doCast(From &F) {
251 static To doCast(From &f) { return Impl::template doCast<To>(f); }
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAPI.h1503 static RecordContext *doCast(FromTy *From) { in doCast() function
1513 static RecordContext *doCast(FromTy *From) {
1531 static ToTy *doCast(RecordContext *Ctx) {
1544 static RecordContext *doCast(RecordContext *Ctx) {
1567 static inline ::clang::extractapi::RecordContext *doCast(FromTy *From) {
1568 return ::clang::extractapi::ToRecordContextCastInfoWrapper<FromTy>::doCast(
1590 static inline ToTy *doCast(::clang::extractapi::RecordContext *Ctx) {
1591 return ::clang::extractapi::FromRecordContextCastInfoWrapper<ToTy>::doCast(