| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | Pointer.h | 29 class Pointer; variable 61 class Pointer { 67 Pointer() {} in Pointer() function 68 Pointer(Block *B); 69 Pointer(Block *B, unsigned BaseAndOffset); 70 Pointer(const Pointer &P); 71 Pointer(Pointer &&P); 72 ~Pointer(); 74 void operator=(const Pointer &P); 75 void operator=(Pointer &&P); [all …]
|
| H A D | Pointer.cpp | 17 Pointer::Pointer(Block *Pointee) : Pointer(Pointee, 0, 0) {} in Pointer() function in Pointer 19 Pointer::Pointer(Block *Pointee, unsigned BaseAndOffset) in Pointer() function in Pointer 20 : Pointer(Pointee, BaseAndOffset, BaseAndOffset) {} in Pointer() 22 Pointer::Pointer(const Pointer &P) : Pointer(P.Pointee, P.Base, P.Offset) {} in Pointer() function in Pointer 24 Pointer::Pointer(Pointer &&P) in Pointer() function in Pointer 30 Pointer::Pointer(Block *Pointee, unsigned Base, unsigned Offset) in Pointer() function in Pointer 37 Pointer::~Pointer() { in ~Pointer() 44 void Pointer::operator=(const Pointer &P) { in operator =() 61 void Pointer::operator=(Pointer &&P) { in operator =() 78 APValue Pointer::toAPValue() const { in toAPValue() [all …]
|
| H A D | Opcodes.td | 204 // [] -> [Pointer] 210 // Pointer generation 213 // [] -> [Pointer] 219 // [] -> [Pointer] 224 // [] -> [Pointer] 229 // [Pointer] -> [Pointer] 234 // [Pointer] -> [Pointer] 239 // [] -> [Pointer] 244 // [] -> [Pointer] 249 // [Pointer] -> [Pointer] [all …]
|
| H A D | Interp.h | 48 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr); 51 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr); 54 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 57 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 61 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 65 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 69 bool CheckConst(InterpState &S, CodePtr OpPC, const Pointer &Ptr); 72 bool CheckMutable(InterpState &S, CodePtr OpPC, const Pointer &Ptr); 75 bool CheckLoad(InterpState &S, CodePtr OpPC, const Pointer &Ptr); 78 bool CheckStore(InterpState &S, CodePtr OpPC, const Pointer &Ptr); [all …]
|
| H A D | Interp.cpp | 101 static bool CheckInitialized(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckInitialized() 112 static bool CheckActive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckActive() 121 Pointer U = Ptr.getBase(); in CheckActive() 131 const Pointer &Field = U.atField(R->getField(I)->Offset); in CheckActive() 144 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckTemporary() 164 static bool CheckGlobal(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckGlobal() 181 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckExtern() 194 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckArray() 202 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckLive() 232 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckNull() [all …]
|
| H A D | InterpFrame.h | 26 class Pointer; variable 83 Pointer getLocalPointer(unsigned Offset) const; 91 return Pointer(reinterpret_cast<Block *>(Pt->second.get())).deref<T>(); in getParam() 101 Pointer getParamPointer(unsigned Offset); 104 const Pointer &getThis() const { return This; } in getThis() 107 const Pointer &getRVOPtr() const { return RVOPtr; } in getRVOPtr() 151 Pointer This; 153 Pointer RVOPtr;
|
| H A D | InterpFrame.cpp | 61 RVOPtr = stackRef<Pointer>(0); in InterpFrame() 65 This = stackRef<Pointer>(sizeof(Pointer)); in InterpFrame() 67 This = stackRef<Pointer>(0); in InterpFrame() 93 void print(llvm::raw_ostream &OS, const Pointer &P, ASTContext &Ctx, in print() 122 llvm::SmallVector<Pointer, 2> Levels; in print() 123 for (Pointer F = P; !F.isRoot(); ) { in print() 185 Pointer InterpFrame::getLocalPointer(unsigned Offset) const { in getLocalPointer() 187 return Pointer(reinterpret_cast<Block *>(localBlock(Offset)), in getLocalPointer() 191 Pointer InterpFrame::getParamPointer(unsigned Off) { in getParamPointer() 195 return Pointer(reinterpret_cast<Block *>(Pt->second.get())); in getParamPointer() [all …]
|
| H A D | InterpBlock.h | 29 class Pointer; variable 114 friend class Pointer; 125 void addPointer(Pointer *P); 126 void removePointer(Pointer *P); 127 void movePointer(Pointer *From, Pointer *To); 130 Pointer *Pointers = nullptr;
|
| H A D | InterpBlock.cpp | 21 void Block::addPointer(Pointer *P) { in addPointer() 31 void Block::removePointer(Pointer *P) { in removePointer() 47 void Block::movePointer(Pointer *From, Pointer *To) { in movePointer() 75 for (Pointer *P = Blk->Pointers; P; P = P->Next) in DeadBlock()
|
| H A D | EvalEmitter.cpp | 120 std::function<bool(QualType, const Pointer &, APValue &)> Composite; in emitRetValue() 121 Composite = [this, &Composite](QualType Ty, const Pointer &Ptr, APValue &R) { in emitRetValue() 134 const Pointer &FP = Ptr.atField(F.Offset); in emitRetValue() 156 const Pointer &FP = Ptr.atField(FD->Offset); in emitRetValue() 169 const Pointer &BP = Ptr.atField(BD->Offset); in emitRetValue() 176 const Pointer &VP = Ptr.atField(VD->Offset); in emitRetValue() 190 const Pointer &EP = Ptr.atIndex(I); in emitRetValue() 203 const auto &Ptr = S.Stk.pop<Pointer>(); in emitRetValue() 214 S.Stk.push<Pointer>(B, sizeof(InlineDescriptor)); in emitGetPtrLocal()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/ubsan/ |
| H A D | ubsan_handlers_cxx.cpp | 34 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, in HandleDynamicTypeCacheMiss() argument 36 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) in HandleDynamicTypeCacheMiss() 41 DynamicTypeInfo DTI = getDynamicTypeInfoFromObject((void*)Pointer); in HandleDynamicTypeCacheMiss() 54 << TypeCheckKinds[Data->TypeCheckKind] << (void*)Pointer << Data->Type; in HandleDynamicTypeCacheMiss() 59 Diag(Pointer, DL_Note, ET, in HandleDynamicTypeCacheMiss() 62 << Range(Pointer, Pointer + sizeof(uptr), "possibly invalid vptr"); in HandleDynamicTypeCacheMiss() 64 Diag(Pointer, DL_Note, ET, "object has invalid vptr") in HandleDynamicTypeCacheMiss() 66 << Range(Pointer, Pointer + sizeof(uptr), "invalid vptr"); in HandleDynamicTypeCacheMiss() 69 Diag(Pointer, DL_Note, ET, "object is of type %0") in HandleDynamicTypeCacheMiss() 71 << Range(Pointer, Pointer + sizeof(uptr), "vptr for %0"); in HandleDynamicTypeCacheMiss() [all …]
|
| H A D | ubsan_handlers.cpp | 86 static void handleTypeMismatchImpl(TypeMismatchData *Data, ValueHandle Pointer, in handleTypeMismatchImpl() argument 92 if (!Pointer) in handleTypeMismatchImpl() 96 else if (Pointer & (Alignment - 1)) in handleTypeMismatchImpl() 123 << TypeCheckKinds[Data->TypeCheckKind] << (void *)Pointer << Alignment in handleTypeMismatchImpl() 129 << TypeCheckKinds[Data->TypeCheckKind] << (void *)Pointer << Data->Type; in handleTypeMismatchImpl() 135 if (Pointer) in handleTypeMismatchImpl() 136 Diag(Pointer, DL_Note, ET, "pointer points here"); in handleTypeMismatchImpl() 140 ValueHandle Pointer) { in __ubsan_handle_type_mismatch_v1() argument 142 handleTypeMismatchImpl(Data, Pointer, Opts); in __ubsan_handle_type_mismatch_v1() 145 ValueHandle Pointer) { in __ubsan_handle_type_mismatch_v1_abort() argument [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | Address.h | 31 llvm::Value *Pointer; variable 36 AddressImpl(llvm::Value *Pointer, llvm::Type *ElementType, in AddressImpl() argument 38 : Pointer(Pointer), ElementType(ElementType), Alignment(Alignment) {} in AddressImpl() 39 llvm::Value *getPointer() const { return Pointer; } in getPointer() 46 llvm::PointerIntPair<llvm::Value *, 3, unsigned> Pointer; variable 51 AddressImpl(llvm::Value *Pointer, llvm::Type *ElementType, in AddressImpl() argument 53 : Pointer(Pointer), ElementType(ElementType) { in AddressImpl() 62 this->Pointer.setInt(AlignLog >> 3); in AddressImpl() 65 llvm::Value *getPointer() const { return Pointer.getPointer(); } in getPointer() 68 unsigned AlignLog = (Pointer.getInt() << 3) | ElementType.getInt(); in getAlignment() [all …]
|
| /openbsd-src/regress/lib/libcrypto/wycheproof/ |
| H A D | wycheproof.go | 730 if C.EVP_Digest(unsafe.Pointer(&msg[0]), C.size_t(msgLen), (*C.uchar)(unsafe.Pointer(&digest[0])), nil, md, nil) != 1 { 757 ret := C.EVP_CipherInit_ex(ctx, nil, nil, (*C.uchar)(unsafe.Pointer(&key[0])), (*C.uchar)(unsafe.Pointer(&iv[0])), C.int(doEncrypt)) 765 ret = C.EVP_CipherUpdate(ctx, (*C.uchar)(unsafe.Pointer(&cipherOut[0])), &cipherOutLen, (*C.uchar)(unsafe.Pointer(&in[0])), C.int(inLen)) 776 ret = C.EVP_CipherFinal_ex(ctx, (*C.uchar)(unsafe.Pointer(&cipherOut[cipherOutLen])), &finallen) 863 setTag := unsafe.Pointer(nil) 870 setTag = unsafe.Pointer(&tag[0]) 899 ret = C.EVP_CipherInit_ex(ctx, nil, nil, (*C.uchar)(unsafe.Pointer( [all...] |
| /openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyFunctionDumper.cpp | 56 const char *Name, PointerType Pointer) { in start() argument 75 if (Pointer == PointerType::None) { in start() 93 if (Pointer == PointerType::Reference) in start() 119 void FunctionDumper::start(const PDBSymbolFunc &Symbol, PointerType Pointer) { in start() argument 157 if (Pointer == PointerType::Pointer) in start() 159 else if (Pointer == FunctionDumper::PointerType::Reference) in start() 170 if (Pointer != FunctionDumper::PointerType::None) in start() 179 if (Pointer != FunctionDumper::PointerType::None) { in start() 180 if (Pointer == PointerType::Pointer) in start() 182 else if (Pointer == FunctionDumper::PointerType::Reference) in start() [all …]
|
| H A D | PrettyTypedefDumper.cpp | 62 FunctionDumper::PointerType Pointer = FunctionDumper::PointerType::Pointer; in dump() local 64 Pointer = FunctionDumper::PointerType::Reference; in dump() 66 NestedDumper.start(*FuncSig, nullptr, Pointer); in dump()
|
| H A D | PrettyFunctionDumper.h | 22 enum class PointerType { None, Pointer, Reference }; enumerator 25 PointerType Pointer); 26 void start(const PDBSymbolFunc &Symbol, PointerType Pointer);
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/ |
| H A D | nest15.C | 12 struct Pointer { struct 16 Pointer(); argument 17 Pointer(const BDDHeap& heap); 34 BDDHeap::Pointer::Pointer(const BDDHeap& heap): in Pointer() function
|
| H A D | nest16.C | 12 struct Pointer { struct 16 Pointer(); argument 17 Pointer(const BDDHeap& heap); 34 BDDHeap::Pointer::Pointer(const BDDHeap& heap): in Pointer() function
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/ |
| H A D | point_iterators.hpp | 62 Pointer, \ 73 Pointer, \ 84 Pointer, \ 95 Pointer, \ 105 typename Pointer, 122 typedef Pointer pointer; 292 typename Pointer,
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBSymbolExe.cpp | 22 auto Pointer = findOneChild<PDBSymbolTypePointer>(); in getPointerByteSize() local 23 if (Pointer) in getPointerByteSize() 24 return Pointer->getLength(); in getPointerByteSize()
|
| /openbsd-src/regress/lib/libtls/gotls/ |
| H A D | tls.go | 106 defer C.free(unsafe.Pointer(caFile)) 116 defer C.free(unsafe.Pointer(cipherStr)) 192 defer C.free(unsafe.Pointer(n)) 289 defer C.free(unsafe.Pointer(h)) 290 defer C.free(unsafe.Pointer(p)) 313 ret := C.tls_read(t.ctx, unsafe.Pointer(&buf[0]), C.size_t(len(buf))) 328 defer C.free(unsafe.Pointer(p)) 329 ret := C.tls_write(t.ctx, unsafe.Pointer(p), C.size_t(len(buf)))
|
| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | SveEmitter.cpp | 68 bool Float, Signed, Immediate, Void, Constant, Pointer, BFloat; member in __anon5066fa640111::SVEType 77 Constant(false), Pointer(false), BFloat(false), DefaultType(false), in SVEType() 85 bool isPointer() const { return Pointer; } in isPointer() 86 bool isVoidPointer() const { return Pointer && Void; } in isVoidPointer() 93 bool isVoid() const { return Void & !Pointer; } in isVoid() 412 if (Pointer) S += "*"; in builtin_str() 457 if (Pointer) in str() 528 Pointer = true; in applyModifier() 714 Pointer = true; in applyModifier() 720 Pointer = true; in applyModifier() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangle.cpp | 233 return std::make_pair(Q_None, PointerAffinity::Pointer); in demanglePointerCVQualifiers() 235 return std::make_pair(Q_Const, PointerAffinity::Pointer); in demanglePointerCVQualifiers() 237 return std::make_pair(Q_Volatile, PointerAffinity::Pointer); in demanglePointerCVQualifiers() 240 PointerAffinity::Pointer); in demanglePointerCVQualifiers() 553 IFK::Pointer, // ?C # operator-> in translateIntrinsicFunctionCode() 2004 PointerTypeNode *Pointer = Arena.alloc<PointerTypeNode>(); in demanglePointerType() local 2006 std::tie(Pointer->Quals, Pointer->Affinity) = in demanglePointerType() 2010 Pointer->Pointee = demangleFunctionType(MangledName, false); in demanglePointerType() 2011 return Pointer; in demanglePointerType() 2015 Pointer->Quals = Qualifiers(Pointer->Quals | ExtQuals); in demanglePointerType() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | AliasAnalysisEvaluator.cpp | 215 for (const auto &Pointer : Pointers) { in runInternal() local 217 LocationSize::precise(DL.getTypeStoreSize(Pointer.second)); in runInternal() 218 switch (AA.getModRefInfo(Call, Pointer.first, Size)) { in runInternal() 220 PrintModRefResults("NoModRef", PrintNoModRef, Call, Pointer, in runInternal() 225 PrintModRefResults("Just Mod", PrintMod, Call, Pointer, F.getParent()); in runInternal() 229 PrintModRefResults("Just Ref", PrintRef, Call, Pointer, F.getParent()); in runInternal() 233 PrintModRefResults("Both ModRef", PrintModRef, Call, Pointer, in runInternal()
|