Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCasting.h314 return Derived::doCast(f);
336 static inline To doCast(From *f) { return To(f); }
358 return doCast(f);
402 static inline decltype(auto) doCast(const From &f) {
430 return *ForwardTo::doCast(&f);
496 return doCast(f);
514 static inline decltype(auto) doCast(From &f) {
567 return CastInfo<To, const From>::doCast(Val);
573 return CastInfo<To, From>::doCast(Val);
579 return CastInfo<To, From *>::doCast(Val);
[all …]
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h706 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
709 LHS = (*doCast)(Solver, LHS, RTy, RBitWidth, LTy, LBitWidth); in doIntTypeConversion()
716 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
719 LHS = (*doCast)(Solver, LHS, RTy, RBitWidth, LTy, LBitWidth); in doIntTypeConversion()
727 RHS = (doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
740 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doIntTypeConversion()
742 LHS = (doCast)(Solver, LHS, RTy, RBitWidth, LTy, LBitWidth); in doIntTypeConversion()
760 LHS = (*doCast)(Solver, LHS, RTy, RBitWidth, LTy, LBitWidth); in doFloatTypeConversion()
765 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doFloatTypeConversion()
778 RHS = (*doCast)(Solver, RHS, LTy, LBitWidth, RTy, RBitWidth); in doFloatTypeConversion()
[all …]
H A DSVals.h572 static To doCast(const From &f) {
578 return doCast(f);
/llvm-project-15.0.7/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); }
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCasting.cpp113 static inline CastResultType doCast(const T3 &t) { return T4(t); } in doCast() function
116 return doCast(f); in doCastIfPossible()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DOperation.h833 static T doCast(::mlir::Operation &val) { return T(&val); }
850 static ::mlir::Operation *doCast(::mlir::Operation *op) { return op; }
/llvm-project-15.0.7/llvm/docs/
H A DHowToSetUpLLVMStyleRTTI.rst476 ``doCast``, ``castFailed``, and ``doCastIfPossible``. These are for ``isa``,
518 static T doCast(SomeValue v) {
537 static SomeValue doCast(const T *t) {