Home
last modified time | relevance | path

Searched refs:InfoPtr (Results 1 – 15 of 15) sorted by relevance

/external/clang/include/clang/Basic/
DIdentifierTable.h638 uintptr_t InfoPtr; // a pointer to the MultiKeywordSelector or IdentifierInfo. variable
641 InfoPtr = reinterpret_cast<uintptr_t>(II); in Selector()
642 assert((InfoPtr & ArgFlags) == 0 &&"Insufficiently aligned IdentifierInfo"); in Selector()
644 InfoPtr |= nArgs+1; in Selector()
647 InfoPtr = reinterpret_cast<uintptr_t>(SI); in Selector()
648 assert((InfoPtr & ArgFlags) == 0 &&"Insufficiently aligned IdentifierInfo"); in Selector()
649 InfoPtr |= MultiArg; in Selector()
654 return reinterpret_cast<IdentifierInfo *>(InfoPtr & ~ArgFlags); in getAsIdentifierInfo()
658 return reinterpret_cast<MultiKeywordSelector *>(InfoPtr & ~ArgFlags); in getMultiKeywordSelector()
662 return InfoPtr & ArgFlags; in getIdentifierInfoFlag()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DIdentifierTable.h702 uintptr_t InfoPtr = 0; variable
705 InfoPtr = reinterpret_cast<uintptr_t>(II); in Selector()
706 assert((InfoPtr & ArgFlags) == 0 &&"Insufficiently aligned IdentifierInfo"); in Selector()
708 InfoPtr |= nArgs+1; in Selector()
712 InfoPtr = reinterpret_cast<uintptr_t>(SI); in Selector()
713 assert((InfoPtr & ArgFlags) == 0 &&"Insufficiently aligned IdentifierInfo"); in Selector()
714 InfoPtr |= MultiArg; in Selector()
719 return reinterpret_cast<IdentifierInfo *>(InfoPtr & ~ArgFlags); in getAsIdentifierInfo()
724 return reinterpret_cast<MultiKeywordSelector *>(InfoPtr & ~ArgFlags); in getMultiKeywordSelector()
728 return InfoPtr & ArgFlags; in getIdentifierInfoFlag()
[all …]
/external/llvm/include/llvm/Support/
DOnDiskHashTable.h343 iterator find(const external_key_type &EKey, Info *InfoPtr = nullptr) {
346 return find_hashed(IKey, KeyHash, InfoPtr);
351 Info *InfoPtr = nullptr) {
354 if (!InfoPtr)
355 InfoPtr = &InfoObj;
388 InfoPtr->ReadKey((const unsigned char *const)Items, L.first);
391 if (!InfoPtr->EqualKey(X, IKey)) {
397 return iterator(X, Items + L.first, L.second, InfoPtr);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DOnDiskHashTable.h343 iterator find(const external_key_type &EKey, Info *InfoPtr = nullptr) {
346 return find_hashed(IKey, KeyHash, InfoPtr);
351 Info *InfoPtr = nullptr) {
354 if (!InfoPtr)
355 InfoPtr = &InfoObj;
388 InfoPtr->ReadKey((const unsigned char *const)Items, L.first);
391 if (!InfoPtr->EqualKey(X, IKey)) {
397 return iterator(X, Items + L.first, L.second, InfoPtr);
/external/llvm-project/llvm/include/llvm/Support/
DOnDiskHashTable.h343 iterator find(const external_key_type &EKey, Info *InfoPtr = nullptr) {
346 return find_hashed(IKey, KeyHash, InfoPtr);
351 Info *InfoPtr = nullptr) {
354 if (!InfoPtr)
355 InfoPtr = &InfoObj;
388 InfoPtr->ReadKey((const unsigned char *const)Items, L.first);
391 if (!InfoPtr->EqualKey(X, IKey)) {
397 return iterator(X, Items + L.first, L.second, InfoPtr);
/external/llvm-project/clang/lib/Sema/
DIdentifierResolver.cpp417 void *InfoPtr = D->getDeclName().getFETokenInfo(); in incrementSlowCase() local
418 assert(!isDeclPtr(InfoPtr) && "Decl with wrong id ?"); in incrementSlowCase()
419 IdDeclInfo *Info = toIdDeclInfo(InfoPtr); in incrementSlowCase()
/external/clang/lib/Sema/
DIdentifierResolver.cpp413 void *InfoPtr = D->getDeclName().getFETokenInfo<void>(); in incrementSlowCase() local
414 assert(!isDeclPtr(InfoPtr) && "Decl with wrong id ?"); in incrementSlowCase()
415 IdDeclInfo *Info = toIdDeclInfo(InfoPtr); in incrementSlowCase()
/external/clang/include/clang/AST/
DDeclarationName.h181 DeclarationName(Selector Sel) : Ptr(Sel.InfoPtr) { } in DeclarationName()
/external/llvm-project/clang/lib/Analysis/
DThreadSafety.cpp1076 std::unique_ptr<BeforeInfo> &InfoPtr = BMap[Vd]; in insertAttrExprs() local
1077 if (!InfoPtr) in insertAttrExprs()
1078 InfoPtr.reset(new BeforeInfo()); in insertAttrExprs()
1079 Info = InfoPtr.get(); in insertAttrExprs()
/external/clang/lib/Analysis/
DThreadSafety.cpp974 std::unique_ptr<BeforeInfo> &InfoPtr = BMap[Vd]; in insertAttrExprs() local
975 if (!InfoPtr) in insertAttrExprs()
976 InfoPtr.reset(new BeforeInfo()); in insertAttrExprs()
977 Info = InfoPtr.get(); in insertAttrExprs()
/external/clang/lib/CodeGen/
DCGExpr.cpp2562 auto *InfoPtr = in EmitCheck() local
2565 InfoPtr->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in EmitCheck()
2566 CGM.getSanitizerMetadata()->disableSanitizerForGlobal(InfoPtr); in EmitCheck()
2567 Args.push_back(Builder.CreateBitCast(InfoPtr, Int8PtrTy)); in EmitCheck()
2621 auto *InfoPtr = in EmitCfiSlowPathCheck() local
2624 InfoPtr->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in EmitCfiSlowPathCheck()
2625 CGM.getSanitizerMetadata()->disableSanitizerForGlobal(InfoPtr); in EmitCfiSlowPathCheck()
2633 {TypeId, Ptr, Builder.CreateBitCast(InfoPtr, Int8PtrTy)}); in EmitCfiSlowPathCheck()
/external/llvm-project/clang/include/clang/AST/
DDeclarationName.h356 DeclarationName(Selector Sel) : Ptr(Sel.InfoPtr) {} in DeclarationName()
/external/clang/lib/Basic/
DIdentifierTable.cpp438 if (InfoPtr == 0) in getAsString()
/external/llvm-project/clang/lib/Basic/
DIdentifierTable.cpp479 if (InfoPtr == 0) in getAsString()
/external/llvm-project/clang/lib/CodeGen/
DCGExpr.cpp3259 auto *InfoPtr = in EmitCheck() local
3262 InfoPtr->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in EmitCheck()
3263 CGM.getSanitizerMetadata()->disableSanitizerForGlobal(InfoPtr); in EmitCheck()
3264 Args.push_back(Builder.CreateBitCast(InfoPtr, Int8PtrTy)); in EmitCheck()
3320 auto *InfoPtr = in EmitCfiSlowPathCheck() local
3323 InfoPtr->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global); in EmitCfiSlowPathCheck()
3324 CGM.getSanitizerMetadata()->disableSanitizerForGlobal(InfoPtr); in EmitCfiSlowPathCheck()
3331 SlowPathFn, {TypeId, Ptr, Builder.CreateBitCast(InfoPtr, Int8PtrTy)}); in EmitCfiSlowPathCheck()