Home
last modified time | relevance | path

Searched refs:pImpl (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContext.cpp35 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext()
50 auto *DeoptEntry = pImpl->getOrInsertBundleTag("deopt"); in LLVMContext()
55 auto *FuncletEntry = pImpl->getOrInsertBundleTag("funclet"); in LLVMContext()
60 auto *GCTransitionEntry = pImpl->getOrInsertBundleTag("gc-transition"); in LLVMContext()
65 auto *CFGuardTargetEntry = pImpl->getOrInsertBundleTag("cfguardtarget"); in LLVMContext()
71 pImpl->getOrInsertSyncScopeID("singlethread"); in LLVMContext()
77 pImpl->getOrInsertSyncScopeID(""); in LLVMContext()
83 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext()
86 pImpl->OwnedModules.insert(M); in addModule()
90 pImpl->OwnedModules.erase(M); in removeModule()
[all …]
DType.cpp165 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
166 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
167 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
168 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
169 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
170 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
171 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy()
172 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
173 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
174 Type *Type::getPPC_FP128Ty(LLVMContext &C) { return &C.pImpl->PPC_FP128Ty; } in getPPC_FP128Ty()
[all …]
DAttributes.cpp82 LLVMContextImpl *pImpl = Context.pImpl; in get() local
88 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
97 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
105 LLVMContextImpl *pImpl = Context.pImpl; in get() local
111 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
117 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
126 LLVMContextImpl *pImpl = Context.pImpl; in get() local
132 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
138 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
184 return pImpl && pImpl->isEnumAttribute(); in isEnumAttribute()
[all …]
DConstants.cpp661 LLVMContextImpl *pImpl = Context.pImpl; in getTrue() local
662 if (!pImpl->TheTrueVal) in getTrue()
663 pImpl->TheTrueVal = ConstantInt::get(Type::getInt1Ty(Context), 1); in getTrue()
664 return pImpl->TheTrueVal; in getTrue()
668 LLVMContextImpl *pImpl = Context.pImpl; in getFalse() local
669 if (!pImpl->TheFalseVal) in getFalse()
670 pImpl->TheFalseVal = ConstantInt::get(Type::getInt1Ty(Context), 0); in getFalse()
671 return pImpl->TheFalseVal; in getFalse()
693 LLVMContextImpl *pImpl = Context.pImpl; in get() local
694 std::unique_ptr<ConstantInt> &Slot = pImpl->IntConstants[V]; in get()
[all …]
DValue.cpp191 auto I = Ctx.pImpl->ValueNames.find(this); in getValueName()
192 assert(I != Ctx.pImpl->ValueNames.end() && in getValueName()
201 assert(HasName == Ctx.pImpl->ValueNames.count(this) && in setValueName()
206 Ctx.pImpl->ValueNames.erase(this); in setValueName()
212 Ctx.pImpl->ValueNames[this] = VN; in setValueName()
805 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in AddToUseList() local
810 ValueHandleBase *&Entry = pImpl->ValueHandles[getValPtr()]; in AddToUseList()
821 DenseMap<Value*, ValueHandleBase*> &Handles = pImpl->ValueHandles; in AddToUseList()
863 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in RemoveFromUseList() local
864 DenseMap<Value*, ValueHandleBase*> &Handles = pImpl->ValueHandles; in RemoveFromUseList()
[all …]
DMetadata.cpp68 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue()
107 auto *&Entry = Context.pImpl->MetadataAsValues[MD]; in get()
116 auto &Store = Context.pImpl->MetadataAsValues; in getIfExists()
123 auto &Store = Context.pImpl->MetadataAsValues; in handleChangedMetadata()
352 auto *&Entry = Context.pImpl->ValuesAsMetadata[V]; in get()
369 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists()
375 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion()
398 auto &Store = Context.pImpl->ValuesAsMetadata; in handleRAUW()
454 auto &Store = Context.pImpl->MDStringCache; in get()
796 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \ in uniquify()
[all …]
DInlineAsm.cpp47 LLVMContextImpl *pImpl = FTy->getContext().pImpl; in get() local
48 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(FTy), Key); in get()
52 getType()->getContext().pImpl->InlineAsms.remove(this); in destroyConstant()
DGlobals.cpp191 return getContext().pImpl->GlobalValuePartitions[this]; in getPartition()
202 S = getContext().pImpl->Saver.save(S); in setPartition()
203 getContext().pImpl->GlobalValuePartitions[this] = S; in setPartition()
212 return getContext().pImpl->GlobalObjectSections[this]; in getSectionImpl()
223 S = getContext().pImpl->Saver.save(S); in setSection()
224 getContext().pImpl->GlobalObjectSections[this] = S; in setSection()
DDebugInfoMetadata.cpp59 if (auto *N = getUniqued(Context.pImpl->DILocations, in getImpl()
75 Storage, Context.pImpl->DILocations); in getImpl()
269 if (auto *N = getUniqued(Context.pImpl->GenericDINodes, Key)) in getImpl()
283 Storage, Context.pImpl->GenericDINodes); in getImpl()
295 if (auto *N = getUniqued(Context.pImpl->CLASS##s, \
308 Storage, Context.pImpl->CLASS##s)
311 Storage, Context.pImpl->CLASS##s)
314 Storage, Context.pImpl->CLASS##s)
318 Storage, Context.pImpl->CLASS##s)
418 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; in buildODRType()
[all …]
DLLVMContextImpl.cpp160 Context.pImpl->dropTriviallyDeadConstantArrays(); in dropTriviallyDeadConstantArrays()
DDIBuilder.cpp169 unsigned EntitiesCount = C.pImpl->DIImportedEntitys.size(); in createImportedModule()
172 if (EntitiesCount < C.pImpl->DIImportedEntitys.size()) in createImportedModule()
DInstructions.cpp362 auto *ContextImpl = getContext().pImpl; in populateBundleOperandInfos()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.h75 AttributeImpl *pImpl;
76 Attribute(AttributeImpl *A) : pImpl(A) {} in Attribute()
79 Attribute() : pImpl(nullptr) {} in Attribute()
163 bool operator==(Attribute A) const { return pImpl == A.pImpl; }
164 bool operator!=(Attribute A) const { return pImpl != A.pImpl; }
171 return pImpl; in getRawPointer()
213 AttributeSetImpl *pImpl; variable
229 explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {} in AttributeSet()
232 AttributeSet() : pImpl(nullptr) {} in AttributeSet()
379 return pImpl == RHS.pImpl;
[all …]
DLLVMContext.h50 LLVMContextImpl *const pImpl;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h79 AttributeImpl *pImpl = nullptr;
81 Attribute(AttributeImpl *A) : pImpl(A) {} in Attribute()
177 bool operator==(Attribute A) const { return pImpl == A.pImpl; }
178 bool operator!=(Attribute A) const { return pImpl != A.pImpl; }
184 ID.AddPointer(pImpl); in Profile()
189 return pImpl; in getRawPointer()
354 AttributeListImpl *pImpl = nullptr;
370 explicit AttributeList(AttributeListImpl *LI) : pImpl(LI) {}
660 bool operator==(const AttributeList &RHS) const { return pImpl == RHS.pImpl; }
661 bool operator!=(const AttributeList &RHS) const { return pImpl != RHS.pImpl; }
[all …]
DLLVMContext.h65 LLVMContextImpl *const pImpl;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DValueMapper.cpp1056 static Mapper *getAsMapper(void *pImpl) { in getAsMapper() argument
1057 return reinterpret_cast<Mapper *>(pImpl); in getAsMapper()
1066 explicit FlushingMapper(void *pImpl) : M(*getAsMapper(pImpl)) { in FlushingMapper() argument
1080 : pImpl(new Mapper(VM, Flags, TypeMapper, Materializer)) {} in ValueMapper()
1082 ValueMapper::~ValueMapper() { delete getAsMapper(pImpl); } in ~ValueMapper()
1087 return getAsMapper(pImpl)->registerAlternateMappingContext(VM, Materializer); in registerAlternateMappingContext()
1091 FlushingMapper(pImpl)->addFlags(Flags); in addFlags()
1095 return FlushingMapper(pImpl)->mapValue(&V); in mapValue()
1103 return FlushingMapper(pImpl)->mapMetadata(&MD); in mapMetadata()
1111 FlushingMapper(pImpl)->remapInstruction(&I); in remapInstruction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveDebugVariables.cpp1021 if (!pImpl) in runOnMachineFunction()
1022 pImpl = new LDVImpl(this); in runOnMachineFunction()
1023 return static_cast<LDVImpl*>(pImpl)->runOnMachineFunction(mf); in runOnMachineFunction()
1027 if (pImpl) in releaseMemory()
1028 static_cast<LDVImpl*>(pImpl)->clear(); in releaseMemory()
1032 if (pImpl) in ~LiveDebugVariables()
1033 delete static_cast<LDVImpl*>(pImpl); in ~LiveDebugVariables()
1168 if (pImpl) in splitRegister()
1169 static_cast<LDVImpl*>(pImpl)->splitRegister(OldReg, NewRegs); in splitRegister()
1442 if (pImpl) in emitDebugValues()
[all …]
DLiveDebugVariables.h33 void *pImpl = nullptr; variable
/third_party/skia/third_party/externals/icu/source/common/
Ducnv_bld.h128 #define UCNV_IMMUTABLE_SHARED_DATA_INITIALIZER(pStaticData, pImpl) \ argument
131 NULL, pStaticData, false, false, pImpl, \
/third_party/node/deps/icu-small/source/common/
Ducnv_bld.h128 #define UCNV_IMMUTABLE_SHARED_DATA_INITIALIZER(pStaticData, pImpl) \ argument
131 NULL, pStaticData, false, false, pImpl, \
/third_party/icu/icu4c/source/common/
Ducnv_bld.h128 #define UCNV_IMMUTABLE_SHARED_DATA_INITIALIZER(pStaticData, pImpl) \ argument
131 NULL, pStaticData, false, false, pImpl, \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DValueMapper.h142 void *pImpl; variable