Home
last modified time | relevance | path

Searched refs:CastInfo (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp99 if (!CastInfo) in isInfeasibleCast()
102 return CastSucceeds ? CastInfo->fails() : CastInfo->succeeds(); in isInfeasibleCast()
110 CastInfo ? CastInfo->to()->getAsCXXRecordDecl()->getNameAsString() in getNoteTag()
228 const DynamicCastInfo *CastInfo = in addCastTransition() local
234 if (CastInfo) in addCastTransition()
241 if (isInfeasibleCast(CastInfo, CastSucceeds)) { in addCastTransition()
297 const DynamicCastInfo *CastInfo = in addInstanceOfTransition() local
301 if (CastInfo) in addInstanceOfTransition()
302 CastSucceeds = IsInstanceOf && CastInfo->succeeds(); in addInstanceOfTransition()
307 bool IsKnownCast = CastInfo || CastFromTy == CastToTy; in addInstanceOfTransition()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCasting.h478 using Self = CastInfo<To, From, Enable>;
505 using Self = CastInfo<To, From>;
567 return CastInfo<To, const From>::doCast(Val);
573 return CastInfo<To, From>::doCast(Val);
579 return CastInfo<To, From *>::doCast(Val);
686 return CastInfo<X, const Y>::castFailed();
693 return CastInfo<X, Y>::castFailed();
700 return CastInfo<X, Y *>::castFailed();
735 return CastInfo<X, const Y>::castFailed();
741 return CastInfo<X, Y>::castFailed();
[all …]
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DOperation.h814 struct CastInfo<T, ::mlir::Operation *>
816 CastInfo<T, ::mlir::Operation *>> {
820 struct CastInfo<T, const ::mlir::Operation *>
826 struct CastInfo<T, ::mlir::Operation>
829 CastInfo<T, ::mlir::Operation>> {
836 struct CastInfo<T, const ::mlir::Operation>
838 CastInfo<T, ::mlir::Operation>> {};
844 struct CastInfo<::mlir::Operation *, ::mlir::Operation *>
848 CastInfo<::mlir::Operation *, ::mlir::Operation *>> {
853 struct CastInfo<const ::mlir::Operation *, const ::mlir::Operation *>
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DPointerUnion.h241 struct CastInfo<To, PointerUnion<PTs...>>
243 CastInfo<To, PointerUnion<PTs...>>> {
257 struct CastInfo<To, const PointerUnion<PTs...>>
259 CastInfo<To, PointerUnion<PTs...>>> {
/llvm-project-15.0.7/llvm/docs/
H A DHowToSetUpLLVMStyleRTTI.rst475 struct called ``CastInfo``. ``CastInfo`` provides 4 methods, ``isPossible``,
478 performed by creating a specialization of the ``CastInfo`` struct (to your
479 desired types) that provides the same static methods as the base ``CastInfo``
515 struct CastInfo<T, SomeValue>
517 DefaultDoCastIfPossible<T, SomeValue, CastInfo<T, SomeValue>> {
531 struct CastInfo<SomeValue, T *>
533 DefaultDoCastIfPossible<SomeValue, T *, CastInfo<SomeValue, T *>> {
553 struct CastInfo<T, SomeValue> : OptionalValueCast<T, SomeValue> {};
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCasting.cpp85 template <> struct CastInfo<T2, T1> : public OptionalValueCast<T2, T1> {}; struct
95 template <> struct CastInfo<T3, T1 *> : public ValueFromPointerCast<T3, T1> {}; struct
111 template <> struct CastInfo<T4, T3> { struct
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h561 struct CastInfo<
565 using Self = CastInfo<
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrAVX512.td11061 X86VectorVTInfo CastInfo,
11068 (CastInfo.VT (X86Shuf128 _.RC:$src1, _.RC:$src2,
11076 (CastInfo.VT (X86Shuf128 _.RC:$src1,
11077 (CastInfo.LdFrag addr:$src2),
11087 (CastInfo.VT
11097 AVX512VLVectorVTInfo CastInfo, bits<8> opc,
11101 _.info512, CastInfo.info512, "">, EVEX_V512;
11105 _.info256, CastInfo.info256,