/external/llvm/lib/VMCore/ |
D | LLVMContext.cpp | 31 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() 47 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext() 50 pImpl->OwnedModules.insert(M); in addModule() 54 pImpl->OwnedModules.erase(M); in removeModule() 64 pImpl->InlineAsmDiagHandler = DiagHandler; in setInlineAsmDiagnosticHandler() 65 pImpl->InlineAsmDiagContext = DiagContext; in setInlineAsmDiagnosticHandler() 72 return pImpl->InlineAsmDiagHandler; in getInlineAsmDiagnosticHandler() 78 return pImpl->InlineAsmDiagContext; in getInlineAsmDiagnosticContext() 97 if (pImpl->InlineAsmDiagHandler == 0) { in emitError() 105 pImpl->InlineAsmDiagHandler(Diag, pImpl->InlineAsmDiagContext, LocCookie); in emitError() [all …]
|
D | LeakDetector.cpp | 29 Context.pImpl->LLVMObjects.clear(); in clearGarbage() 38 LLVMContextImpl *pImpl = Object->getContext().pImpl; in addGarbageObjectImpl() local 39 pImpl->LLVMObjects.addGarbage(Object); in addGarbageObjectImpl() 48 LLVMContextImpl *pImpl = Object->getContext().pImpl; in removeGarbageObjectImpl() local 49 pImpl->LLVMObjects.removeGarbage(Object); in removeGarbageObjectImpl() 54 LLVMContextImpl *pImpl = Context.pImpl; in checkForGarbageImpl() local 58 pImpl->LLVMObjects.setName("LLVM"); in checkForGarbageImpl() 62 pImpl->LLVMObjects.hasGarbage(Message)) in checkForGarbageImpl()
|
D | Metadata.cpp | 36 LLVMContextImpl *pImpl = Context.pImpl; in get() local 38 pImpl->MDStringCache.GetOrCreateValue(Str); in get() 107 LLVMContextImpl *pImpl = getType()->getContext().pImpl; in ~MDNode() local 109 pImpl->NonUniquedMDNodes.erase(this); in ~MDNode() 111 pImpl->MDNodeSet.RemoveNode(this); in ~MDNode() 189 LLVMContextImpl *pImpl = Context.pImpl; in getMDNode() local 202 if ((N = pImpl->MDNodeSet.FindNodeOrInsertPos(ID, InsertPoint))) in getMDNode() 230 pImpl->MDNodeSet.InsertNode(N, InsertPoint); in getMDNode() 261 assert(!N->getContext().pImpl->MDNodeSet.RemoveNode(N) && in deleteTemporary() 263 assert(!N->getContext().pImpl->NonUniquedMDNodes.erase(N) && in deleteTemporary() [all …]
|
D | Type.cpp | 200 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy() 201 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy() 202 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy() 203 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy() 204 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy() 205 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty() 206 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty() 207 Type *Type::getPPC_FP128Ty(LLVMContext &C) { return &C.pImpl->PPC_FP128Ty; } in getPPC_FP128Ty() 208 Type *Type::getX86_MMXTy(LLVMContext &C) { return &C.pImpl->X86_MMXTy; } in getX86_MMXTy() 210 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; } in getInt1Ty() [all …]
|
D | DebugLoc.cpp | 25 assert(unsigned(ScopeIdx) <= Ctx.pImpl->ScopeRecords.size() && in getScope() 27 return Ctx.pImpl->ScopeRecords[ScopeIdx-1].get(); in getScope() 31 assert(unsigned(-ScopeIdx) <= Ctx.pImpl->ScopeInlinedAtRecords.size() && in getScope() 33 return Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get(); in getScope() 42 assert(unsigned(-ScopeIdx) <= Ctx.pImpl->ScopeInlinedAtRecords.size() && in getInlinedAt() 44 return Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].second.get(); in getInlinedAt() 58 assert(unsigned(ScopeIdx) <= Ctx.pImpl->ScopeRecords.size() && in getScopeAndInlinedAt() 60 Scope = Ctx.pImpl->ScopeRecords[ScopeIdx-1].get(); in getScopeAndInlinedAt() 66 assert(unsigned(-ScopeIdx) <= Ctx.pImpl->ScopeInlinedAtRecords.size() && in getScopeAndInlinedAt() 68 Scope = Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get(); in getScopeAndInlinedAt() [all …]
|
D | Constants.cpp | 352 LLVMContextImpl *pImpl = Context.pImpl; in getTrue() local 353 if (!pImpl->TheTrueVal) in getTrue() 354 pImpl->TheTrueVal = ConstantInt::get(Type::getInt1Ty(Context), 1); in getTrue() 355 return pImpl->TheTrueVal; in getTrue() 359 LLVMContextImpl *pImpl = Context.pImpl; in getFalse() local 360 if (!pImpl->TheFalseVal) in getFalse() 361 pImpl->TheFalseVal = ConstantInt::get(Type::getInt1Ty(Context), 0); in getFalse() 362 return pImpl->TheFalseVal; in getFalse() 402 ConstantInt *&Slot = Context.pImpl->IntConstants[Key]; in get() 530 LLVMContextImpl* pImpl = Context.pImpl; in get() local [all …]
|
D | Value.cpp | 446 LLVMContextImpl *pImpl = VP->getContext().pImpl; in AddToUseList() local 451 ValueHandleBase *&Entry = pImpl->ValueHandles[VP]; in AddToUseList() 462 DenseMap<Value*, ValueHandleBase*> &Handles = pImpl->ValueHandles; in AddToUseList() 503 LLVMContextImpl *pImpl = VP->getContext().pImpl; in RemoveFromUseList() local 504 DenseMap<Value*, ValueHandleBase*> &Handles = pImpl->ValueHandles; in RemoveFromUseList() 517 LLVMContextImpl *pImpl = V->getContext().pImpl; in ValueIsDeleted() local 518 ValueHandleBase *Entry = pImpl->ValueHandles[V]; in ValueIsDeleted() 559 if (pImpl->ValueHandles[V]->getKind() == Assert) in ValueIsDeleted() 575 LLVMContextImpl *pImpl = Old->getContext().pImpl; in ValueIsRAUWd() local 576 ValueHandleBase *Entry = pImpl->ValueHandles[Old]; in ValueIsRAUWd() [all …]
|
D | PassRegistry.cpp | 64 if (!pImpl) in getImpl() 65 pImpl = new PassRegistryImpl(); in getImpl() 66 return pImpl; in getImpl() 75 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(pImpl); in ~PassRegistry() 82 pImpl = 0; in ~PassRegistry() 200 if (!pImpl) return; in removeRegistrationListener()
|
D | DebugInfoProbe.cpp | 163 pImpl = new DebugInfoProbeImpl(); in DebugInfoProbe() 167 delete pImpl; in ~DebugInfoProbe() 172 pImpl->initialize(PName, F); in initialize() 178 pImpl->finalize(F); in finalize() 183 pImpl->report(); in report()
|
D | InlineAsm.cpp | 32 LLVMContextImpl *pImpl = Ty->getContext().pImpl; in get() local 33 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(Ty), Key); in get() 50 getType()->getContext().pImpl->InlineAsms.remove(this); in destroyConstant()
|
/external/llvm/lib/CodeGen/ |
D | LiveDebugVariables.cpp | 63 LiveDebugVariables::LiveDebugVariables() : MachineFunctionPass(ID), pImpl(0) { in LiveDebugVariables() 640 if (!pImpl) in runOnMachineFunction() 641 pImpl = new LDVImpl(this); in runOnMachineFunction() 642 return static_cast<LDVImpl*>(pImpl)->runOnMachineFunction(mf); in runOnMachineFunction() 646 if (pImpl) in releaseMemory() 647 static_cast<LDVImpl*>(pImpl)->clear(); in releaseMemory() 651 if (pImpl) in ~LiveDebugVariables() 652 delete static_cast<LDVImpl*>(pImpl); in ~LiveDebugVariables() 689 if (pImpl) in renameRegister() 690 static_cast<LDVImpl*>(pImpl)->renameRegister(OldReg, NewReg, SubIdx); in renameRegister() [all …]
|
D | LiveDebugVariables.h | 33 void *pImpl; variable
|
/external/llvm/include/llvm/ |
D | PassRegistry.h | 34 mutable void *pImpl; variable 38 PassRegistry() : pImpl(0) { } in PassRegistry()
|
D | DebugInfoProbe.h | 43 DebugInfoProbeImpl *pImpl;
|
D | LLVMContext.h | 34 LLVMContextImpl *const pImpl;
|
/external/clang/test/SemaTemplate/ |
D | instantiate-method.cpp | 137 impl_fun_ptr pImpl = &X::template in f0() local
|