reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
82 LLVMContextImpl *pImpl = Context.pImpl; 105 LLVMContextImpl *pImpl = Context.pImpl; 126 LLVMContextImpl *pImpl = Context.pImpl; 742 LLVMContextImpl *pImpl = C.pImpl; 949 LLVMContextImpl *pImpl = C.pImpl;lib/IR/Constants.cpp
610 LLVMContextImpl *pImpl = Context.pImpl; 617 LLVMContextImpl *pImpl = Context.pImpl; 642 LLVMContextImpl *pImpl = Context.pImpl; 812 LLVMContextImpl* pImpl = Context.pImpl; 1017 return Ty->getContext().pImpl->ArrayConstants.getOrCreate(Ty, V); 1100 return ST->getContext().pImpl->StructConstants.getOrCreate(ST, V); 1114 return Ty->getContext().pImpl->VectorConstants.getOrCreate(Ty, V); 1162 LLVMContextImpl *pImpl = Context.pImpl; 1368 Ty->getContext().pImpl->CAZConstants[Ty]; 1377 getContext().pImpl->CAZConstants.erase(getType()); 1382 getType()->getContext().pImpl->ArrayConstants.remove(this); 1391 getType()->getContext().pImpl->StructConstants.remove(this); 1396 getType()->getContext().pImpl->VectorConstants.remove(this); 1434 Ty->getContext().pImpl->CPNConstants[Ty]; 1443 getContext().pImpl->CPNConstants.erase(getType()); 1447 std::unique_ptr<UndefValue> &Entry = Ty->getContext().pImpl->UVConstants[Ty]; 1457 getContext().pImpl->UVConstants.erase(getType()); 1467 F->getContext().pImpl->BlockAddresses[std::make_pair(F, BB)]; 1490 F->getContext().pImpl->BlockAddresses.lookup(std::make_pair(F, BB)); 1497 getFunction()->getType()->getContext().pImpl 1518 getContext().pImpl->BlockAddresses[std::make_pair(NewF, NewBB)]; 1526 getContext().pImpl->BlockAddresses.erase(std::make_pair(getFunction(), 1553 LLVMContextImpl *pImpl = Ty->getContext().pImpl; 1864 LLVMContextImpl *pImpl = C->getContext().pImpl; 1923 LLVMContextImpl *pImpl = C1->getContext().pImpl; 2003 LLVMContextImpl *pImpl = C->getContext().pImpl; 2061 LLVMContextImpl *pImpl = C->getContext().pImpl; 2086 LLVMContextImpl *pImpl = LHS->getType()->getContext().pImpl; 2111 LLVMContextImpl *pImpl = LHS->getType()->getContext().pImpl; 2133 LLVMContextImpl *pImpl = Val->getContext().pImpl; 2156 LLVMContextImpl *pImpl = Val->getContext().pImpl; 2179 LLVMContextImpl *pImpl = ShufTy->getContext().pImpl; 2203 LLVMContextImpl *pImpl = Agg->getContext().pImpl; 2227 LLVMContextImpl *pImpl = Agg->getContext().pImpl; 2401 getType()->getContext().pImpl->ExprConstants.remove(this); 2496 .pImpl->CDSConstants.insert(std::make_pair(Elements, nullptr)) 2521 getType()->getContext().pImpl->CDSConstants; 2535 getContext().pImpl->CDSConstants.erase(Slot); 2893 return getContext().pImpl->ArrayConstants.replaceOperandsInPlace( 2929 return getContext().pImpl->StructConstants.replaceOperandsInPlace( 2955 return getContext().pImpl->VectorConstants.replaceOperandsInPlace( 2981 return getContext().pImpl->ExprConstants.replaceOperandsInPlace(lib/IR/DIBuilder.cpp
168 unsigned EntitiesCount = C.pImpl->DIImportedEntitys.size(); 171 if (EntitiesCount < C.pImpl->DIImportedEntitys.size())lib/IR/DebugInfoMetadata.cpp
56 if (auto *N = getUniqued(Context.pImpl->DILocations, 72 Storage, Context.pImpl->DILocations); 266 if (auto *N = getUniqued(Context.pImpl->GenericDINodes, Key)) 280 Storage, Context.pImpl->GenericDINodes); 329 DEFINE_GETIMPL_STORE(DISubrange, (CountNode, Lo), Ops); 338 DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops); 350 DEFINE_GETIMPL_STORE(DIBasicType, (Tag, SizeInBits, AlignInBits, Encoding, 379 DEFINE_GETIMPL_STORE( 401 DEFINE_GETIMPL_STORE(DICompositeType, (Tag, Line, RuntimeLang, SizeInBits, 415 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; 450 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; 464 return Context.pImpl->DITypeMap->lookup(&Identifier); 473 DEFINE_GETIMPL_STORE(DISubroutineType, (Flags, CC), Ops); 510 DEFINE_GETIMPL_STORE(DIFile, (CS, Source), Ops); 652 DEFINE_GETIMPL_STORE_N( 678 DEFINE_GETIMPL_STORE(DILexicalBlock, (Line, Column), Ops); 689 DEFINE_GETIMPL_STORE(DILexicalBlockFile, (Discriminator), Ops); 699 DEFINE_GETIMPL_STORE(DINamespace, (ExportSymbols), Ops); 710 DEFINE_GETIMPL_STORE(DICommonBlock, (LineNo), Ops); 721 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIModule, Ops); 732 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DITemplateTypeParameter, Ops); 741 DEFINE_GETIMPL_STORE(DITemplateValueParameter, (Tag), Ops); 765 DEFINE_GETIMPL_STORE(DIGlobalVariable, 785 DEFINE_GETIMPL_STORE(DILocalVariable, (Line, Arg, Flags, AlignInBits), Ops); 820 DEFINE_GETIMPL_STORE(DILabel, (Line), Ops); 827 DEFINE_GETIMPL_STORE_NO_OPS(DIExpression, (Elements)); 1191 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGlobalVariableExpression, Ops); 1204 DEFINE_GETIMPL_STORE(DIObjCProperty, (Line, Attributes), Ops); 1216 DEFINE_GETIMPL_STORE(DIImportedEntity, (Tag, Line), Ops); 1225 DEFINE_GETIMPL_STORE(DIMacro, (MIType, Line), Ops); 1235 DEFINE_GETIMPL_STORE(DIMacroFile, (MIType, Line), Ops);lib/IR/Globals.cpp
191 return getContext().pImpl->GlobalValuePartitions[this]; 202 S = getContext().pImpl->Saver.save(S); 203 getContext().pImpl->GlobalValuePartitions[this] = S; 212 return getContext().pImpl->GlobalObjectSections[this]; 223 S = getContext().pImpl->Saver.save(S); 224 getContext().pImpl->GlobalObjectSections[this] = S;lib/IR/InlineAsm.cpp
47 LLVMContextImpl *pImpl = FTy->getContext().pImpl; 52 getType()->getContext().pImpl->InlineAsms.remove(this);lib/IR/Instructions.cpp
362 auto *ContextImpl = getContext().pImpl;
lib/IR/LLVMContext.cpp50 auto *DeoptEntry = pImpl->getOrInsertBundleTag("deopt"); 55 auto *FuncletEntry = pImpl->getOrInsertBundleTag("funclet"); 60 auto *GCTransitionEntry = pImpl->getOrInsertBundleTag("gc-transition"); 65 auto *CFGuardTargetEntry = pImpl->getOrInsertBundleTag("cfguardtarget"); 71 pImpl->getOrInsertSyncScopeID("singlethread"); 77 pImpl->getOrInsertSyncScopeID(""); 83 LLVMContext::~LLVMContext() { delete pImpl; } 86 pImpl->OwnedModules.insert(M); 90 pImpl->OwnedModules.erase(M); 100 pImpl->InlineAsmDiagHandler = DiagHandler; 101 pImpl->InlineAsmDiagContext = DiagContext; 108 return pImpl->InlineAsmDiagHandler; 114 return pImpl->InlineAsmDiagContext; 120 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler; 121 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext; 122 pImpl->RespectDiagnosticFilters = RespectFilters; 127 pImpl->DiagHandler = std::move(DH); 128 pImpl->RespectDiagnosticFilters = RespectFilters; 132 pImpl->DiagnosticsHotnessRequested = Requested; 135 return pImpl->DiagnosticsHotnessRequested; 139 pImpl->DiagnosticsHotnessThreshold = Threshold; 142 return pImpl->DiagnosticsHotnessThreshold; 146 return pImpl->RemarkDiagStreamer.get(); 153 pImpl->RemarkDiagStreamer = std::move(RemarkStreamer); 158 return pImpl->DiagHandler->DiagHandlerCallback; 162 return pImpl->DiagHandler->DiagnosticContext; 167 pImpl->YieldCallback = Callback; 168 pImpl->YieldOpaqueHandle = OpaqueHandle; 172 if (pImpl->YieldCallback) 173 pImpl->YieldCallback(this, pImpl->YieldOpaqueHandle); 173 pImpl->YieldCallback(this, pImpl->YieldOpaqueHandle); 221 if (pImpl->DiagHandler && 222 (!pImpl->RespectDiagnosticFilters || isDiagnosticEnabled(DI)) && 223 pImpl->DiagHandler->handleDiagnostics(DI)) 249 return pImpl->CustomMDKindNames.insert( 251 Name, pImpl->CustomMDKindNames.size())) 258 Names.resize(pImpl->CustomMDKindNames.size()); 259 for (StringMap<unsigned>::const_iterator I = pImpl->CustomMDKindNames.begin(), 260 E = pImpl->CustomMDKindNames.end(); I != E; ++I) 265 pImpl->getOperandBundleTags(Tags); 269 return pImpl->getOperandBundleTagID(Tag); 273 return pImpl->getOrInsertSyncScopeID(SSN); 277 pImpl->getSyncScopeNames(SSNs); 281 auto It = pImpl->GCNames.find(&Fn); 283 if (It == pImpl->GCNames.end()) { 284 pImpl->GCNames.insert(std::make_pair(&Fn, std::move(GCName))); 291 return pImpl->GCNames[&Fn]; 295 pImpl->GCNames.erase(&Fn); 299 return pImpl->DiscardValueNames; 302 bool LLVMContext::isODRUniquingDebugTypes() const { return !!pImpl->DITypeMap; } 305 if (pImpl->DITypeMap) 308 pImpl->DITypeMap.emplace(); 311 void LLVMContext::disableDebugTypeODRUniquing() { pImpl->DITypeMap.reset(); } 314 pImpl->DiscardValueNames = Discard; 318 return pImpl->getOptPassGate(); 322 pImpl->setOptPassGate(OPG); 326 return pImpl->DiagHandler.get(); 330 return std::move(pImpl->DiagHandler);lib/IR/LLVMContextImpl.cpp
160 Context.pImpl->dropTriviallyDeadConstantArrays();
lib/IR/Metadata.cpp68 getType()->getContext().pImpl->MetadataAsValues.erase(MD); 107 auto *&Entry = Context.pImpl->MetadataAsValues[MD]; 116 auto &Store = Context.pImpl->MetadataAsValues; 123 auto &Store = Context.pImpl->MetadataAsValues; 352 auto *&Entry = Context.pImpl->ValuesAsMetadata[V]; 369 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); 375 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; 398 auto &Store = Context.pImpl->ValuesAsMetadata; 454 auto &Store = Context.pImpl->MDStringCache; 817 if (auto *N = getUniqued(Context.pImpl->MDTuples, Key)) 827 Storage, Context.pImpl->MDTuples); 855 getContext().pImpl->DistinctMDNodes.push_back(this); 1199 auto &InstructionMetadata = getContext().pImpl->InstructionMetadata; 1234 auto &Info = getContext().pImpl->InstructionMetadata[this]; 1245 (getContext().pImpl->InstructionMetadata.count(this) > 0)) && 1249 auto &Info = getContext().pImpl->InstructionMetadata[this]; 1257 getContext().pImpl->InstructionMetadata.erase(this); 1274 auto &Info = getContext().pImpl->InstructionMetadata[this]; 1293 getContext().pImpl->InstructionMetadata.count(this) && 1295 const auto &Info = getContext().pImpl->InstructionMetadata.find(this)->second; 1304 getContext().pImpl->InstructionMetadata.count(this) && 1306 const auto &Info = getContext().pImpl->InstructionMetadata.find(this)->second; 1374 getContext().pImpl->InstructionMetadata.erase(this); 1381 getContext().pImpl->GlobalObjectMetadata[this].get(KindID, MDs); 1394 getContext().pImpl->GlobalObjectMetadata[this].insert(KindID, MD); 1406 auto &Store = getContext().pImpl->GlobalObjectMetadata[this]; 1420 getContext().pImpl->GlobalObjectMetadata[this].getAll(MDs); 1426 getContext().pImpl->GlobalObjectMetadata.erase(this); 1442 return getContext().pImpl->GlobalObjectMetadata[this].lookup(KindID);lib/IR/Type.cpp
165 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } 166 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } 167 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } 168 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } 169 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } 170 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } 171 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } 172 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } 173 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } 174 Type *Type::getPPC_FP128Ty(LLVMContext &C) { return &C.pImpl->PPC_FP128Ty; } 175 Type *Type::getX86_MMXTy(LLVMContext &C) { return &C.pImpl->X86_MMXTy; } 177 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; } 178 IntegerType *Type::getInt8Ty(LLVMContext &C) { return &C.pImpl->Int8Ty; } 179 IntegerType *Type::getInt16Ty(LLVMContext &C) { return &C.pImpl->Int16Ty; } 180 IntegerType *Type::getInt32Ty(LLVMContext &C) { return &C.pImpl->Int32Ty; } 181 IntegerType *Type::getInt64Ty(LLVMContext &C) { return &C.pImpl->Int64Ty; } 182 IntegerType *Type::getInt128Ty(LLVMContext &C) { return &C.pImpl->Int128Ty; } 260 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits]; 263 Entry = new (C.pImpl->Alloc) IntegerType(C, NumBits); 303 LLVMContextImpl *pImpl = ReturnType->getContext().pImpl; 348 LLVMContextImpl *pImpl = Context.pImpl; 361 ST = new (Context.pImpl->Alloc) StructType(Context); 387 ContainedTys = Elements.copy(getContext().pImpl->Alloc).data(); 393 StringMap<StructType *> &SymbolTable = getContext().pImpl->NamedStructTypes; 414 getContext().pImpl->NamedStructTypes.insert(std::make_pair(Name, this)); 425 TmpStream << getContext().pImpl->NamedStructTypesUniqueID++; 427 IterBool = getContext().pImpl->NamedStructTypes.insert( 442 StructType *ST = new (Context.pImpl->Alloc) StructType(Context); 529 return getContext().pImpl->NamedStructTypes.lookup(Name); 590 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; 620 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; 621 VectorType *&Entry = ElementType->getContext().pImpl 641 LLVMContextImpl *CImpl = EltTy->getContext().pImpl;lib/IR/Value.cpp
190 auto I = Ctx.pImpl->ValueNames.find(this); 191 assert(I != Ctx.pImpl->ValueNames.end() && 200 assert(HasName == Ctx.pImpl->ValueNames.count(this) && 205 Ctx.pImpl->ValueNames.erase(this); 211 Ctx.pImpl->ValueNames[this] = VN; 804 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; 862 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; 875 LLVMContextImpl *pImpl = V->getContext().pImpl; 931 LLVMContextImpl *pImpl = Old->getContext().pImpl;