Home
last modified time | relevance | path

Searched refs:ElemPtr (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DEvaluationResult.cpp76 Pointer ElemPtr = BasePtr.atIndex(I).narrow(); in CheckArrayInitialized() local
77 Result &= CheckFieldsInitialized(S, Loc, ElemPtr, R); in CheckArrayInitialized()
81 Pointer ElemPtr = BasePtr.atIndex(I).narrow(); in CheckArrayInitialized() local
82 Result &= CheckArrayInitialized(S, Loc, ElemPtr, ElemCAT); in CheckArrayInitialized()
213 const Pointer &ElemPtr = Ptr.atIndex(I).narrow(); in collectBlocks() local
214 collectBlocks(ElemPtr, Blocks); in collectBlocks()
H A DDescriptor.cpp93 auto *ElemPtr = Ptr + ElemOffset; in ctorArrayDesc() local
94 auto *Desc = reinterpret_cast<InlineDescriptor *>(ElemPtr); in ctorArrayDesc()
122 auto *ElemPtr = Ptr + ElemOffset; in dtorArrayDesc() local
123 auto *Desc = reinterpret_cast<InlineDescriptor *>(ElemPtr); in dtorArrayDesc()
H A DInterpBuiltin.cpp293 const Pointer &ElemPtr = StrPtr.atIndex(I); in interp__builtin_strlen() local
295 if (!CheckRange(S, OpPC, ElemPtr, AK_Read)) in interp__builtin_strlen()
301 Val = ElemPtr.deref<uint8_t>(); in interp__builtin_strlen()
304 Val = ElemPtr.deref<uint16_t>(); in interp__builtin_strlen()
307 Val = ElemPtr.deref<uint32_t>(); in interp__builtin_strlen()
2081 const Pointer &ElemPtr = in interp__builtin_memchr() local
2084 if (!CheckLoad(S, OpPC, ElemPtr)) in interp__builtin_memchr()
2089 ElemT, { V = static_cast<uint64_t>(ElemPtr.deref<T>().toUnsigned()); }); in interp__builtin_memchr()
2092 S.Stk.push<Pointer>(ElemPtr); in interp__builtin_memchr()
2868 Pointer ElemPtr = Dest.atIndex(I).narrow(); in zeroAll() local
[all …]
H A DInterp.h2004 const Pointer &ElemPtr = Ptr.atIndex(Idx); in InitElem() local
2005 if (!CheckInit(S, OpPC, ElemPtr)) in InitElem()
2007 ElemPtr.initialize(); in InitElem()
2008 new (&ElemPtr.deref<T>()) T(Value); in InitElem()
2028 const Pointer &ElemPtr = Ptr.atIndex(Idx); in InitElemPop() local
2029 if (!CheckInit(S, OpPC, ElemPtr)) in InitElemPop()
2031 ElemPtr.initialize(); in InitElemPop()
2032 new (&ElemPtr.deref<T>()) T(Value); in InitElemPop()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2436 Value *ElemPtr = DstAddr; in shuffleAndStore() local
2446 ElemPtr = Builder.CreatePointerBitCastOrAddrSpaceCast( in shuffleAndStore()
2447 ElemPtr, Builder.getPtrTy(0), ElemPtr->getName() + ".ascast"); in shuffleAndStore()
2463 Builder.CreatePHI(ElemPtr->getType(), /*NumReservedValues=*/2); in shuffleAndStore()
2464 PhiDest->addIncoming(ElemPtr, CurrentBB); in shuffleAndStore()
2466 ElemPtr = PhiDest; in shuffleAndStore()
2479 Builder.CreateAlignedStore(Res, ElemPtr, in shuffleAndStore()
2484 Builder.CreateGEP(IntType, ElemPtr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore()
2495 Builder.CreateStore(Res, ElemPtr); in shuffleAndStore()
2497 ElemPtr = in shuffleAndStore()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp5984 llvm::Value *ElemPtr; in EmitBuiltinExpr() local
5993 ElemPtr = GEP; in EmitBuiltinExpr()
6001 return {ElemPtr, TmpSize, Alloca}; in EmitBuiltinExpr()
6013 auto [ElemPtr, TmpSize, TmpPtr] = CreateArrayForSizeVar(4); in EmitBuiltinExpr()
6020 ElemPtr}; in EmitBuiltinExpr()
6023 GenericVoidPtrTy, IntTy, ElemPtr->getType()}; in EmitBuiltinExpr()
6094 auto [ElemPtr, TmpSize, TmpPtr] = CreateArrayForSizeVar(7); in EmitBuiltinExpr()
6095 Args.push_back(ElemPtr); in EmitBuiltinExpr()
6096 ArgTys.push_back(ElemPtr->getType()); in EmitBuiltinExpr()