Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvaluationResult.cpp75 Pointer ElemPtr = BasePtr.atIndex(I).narrow(); in CheckArrayInitialized()
80 Pointer ElemPtr = BasePtr.atIndex(I).narrow(); in CheckArrayInitialized()
85 if (!BasePtr.atIndex(I).isInitialized()) { in CheckArrayInitialized()
206 const Pointer &ElemPointee = Ptr.atIndex(I).deref<Pointer>(); in collectBlocks()
212 const Pointer &ElemPtr = Ptr.atIndex(I).narrow(); in collectBlocks()
H A DInterp.h431 APFloat A = LHS.atIndex(0).deref<Floating>().getAPFloat(); in Mulc()
432 APFloat B = LHS.atIndex(1).deref<Floating>().getAPFloat(); in Mulc()
433 APFloat C = RHS.atIndex(0).deref<Floating>().getAPFloat(); in Mulc()
434 APFloat D = RHS.atIndex(1).deref<Floating>().getAPFloat(); in Mulc()
441 Result.atIndex(0).deref<Floating>() = Floating(ResR); in Mulc()
442 Result.atIndex(0).initialize(); in Mulc()
443 Result.atIndex(1).deref<Floating>() = Floating(ResI); in Mulc()
444 Result.atIndex(1).initialize(); in Mulc()
448 const T &LHSR = LHS.atIndex(0).deref<T>(); in Mulc()
449 const T &LHSI = LHS.atIndex(1).deref<T>(); in Mulc()
[all …]
H A DPointer.cpp478 const Pointer &EP = Ptr.atIndex(I); in toRValue()
496 auto V1 = Ptr.atIndex(0).deref<T>(); in toRValue()
497 auto V2 = Ptr.atIndex(1).deref<T>(); in toRValue()
502 R = APValue(Ptr.atIndex(0).deref<Floating>().getAPFloat(), in toRValue()
503 Ptr.atIndex(1).deref<Floating>().getAPFloat()); in toRValue()
519 Values.push_back(Ptr.atIndex(I).deref<T>().toAPValue(ASTCtx)); in toRValue()
H A DInterpBuiltin.cpp183 const Pointer &PA = A.atIndex(IndexA); in interp__builtin_strcmp()
184 const Pointer &PB = B.atIndex(IndexB); in interp__builtin_strcmp()
225 const Pointer &ElemPtr = StrPtr.atIndex(I); in interp__builtin_strlen()
255 const Pointer &Elem = Arg.atIndex(I); in interp__builtin_nan()
973 Result.atIndex(0).deref<Floating>() = Arg1; in interp__builtin_complex()
974 Result.atIndex(0).initialize(); in interp__builtin_complex()
975 Result.atIndex(1).deref<Floating>() = Arg2; in interp__builtin_complex()
976 Result.atIndex(1).initialize(); in interp__builtin_complex()
1084 S.Stk.push<Pointer>(Ptr.atIndex(NewOffset.getQuantity())); in interp__builtin_is_aligned_up_down()
1560 Pointer DestElem = Dest.atIndex(I); in DoMemcpy()
[all …]
H A DInterp.cpp850 if (!runRecordDestructor(S, OpPC, BasePtr.atIndex(I).narrow(), in runRecordDestructor()
893 if (!runRecordDestructor(S, OpPC, RP.atIndex(I).narrow(), ElemDesc)) in RunDestructors()
H A DProgram.cpp76 Pointer Field = Ptr.atIndex(I).narrow(); in createGlobalString()
H A DPointer.h137 [[nodiscard]] Pointer atIndex(uint64_t Idx) const { in atIndex() function