Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DLLVMContext.cpp36 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext()
51 auto *DeoptEntry = pImpl->getOrInsertBundleTag("deopt"); in LLVMContext()
56 auto *FuncletEntry = pImpl->getOrInsertBundleTag("funclet"); in LLVMContext()
61 auto *GCTransitionEntry = pImpl->getOrInsertBundleTag("gc-transition"); in LLVMContext()
66 auto *CFGuardTargetEntry = pImpl->getOrInsertBundleTag("cfguardtarget"); in LLVMContext()
71 auto *PreallocatedEntry = pImpl->getOrInsertBundleTag("preallocated"); in LLVMContext()
76 auto *GCLiveEntry = pImpl->getOrInsertBundleTag("gc-live"); in LLVMContext()
82 pImpl->getOrInsertBundleTag("clang.arc.attachedcall"); in LLVMContext()
88 pImpl->getOrInsertSyncScopeID("singlethread"); in LLVMContext()
94 pImpl->getOrInsertSyncScopeID(""); in LLVMContext()
[all …]
DType.cpp186 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
187 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
188 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
189 Type *Type::getBFloatTy(LLVMContext &C) { return &C.pImpl->BFloatTy; } in getBFloatTy()
190 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
191 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
192 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
193 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy()
194 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
195 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
[all …]
DAttributes.cpp99 LLVMContextImpl *pImpl = Context.pImpl; in get() local
105 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
111 PA = new (pImpl->Alloc) EnumAttributeImpl(Kind); in get()
113 PA = new (pImpl->Alloc) IntAttributeImpl(Kind, Val); in get()
114 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
122 LLVMContextImpl *pImpl = Context.pImpl; in get() local
128 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
134 pImpl->Alloc.Allocate(StringAttributeImpl::totalSizeToAlloc(Kind, Val), in get()
137 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
147 LLVMContextImpl *pImpl = Context.pImpl; in get() local
[all …]
DConstants.cpp850 LLVMContextImpl *pImpl = Context.pImpl; in getTrue() local
851 if (!pImpl->TheTrueVal) in getTrue()
852 pImpl->TheTrueVal = ConstantInt::get(Type::getInt1Ty(Context), 1); in getTrue()
853 return pImpl->TheTrueVal; in getTrue()
857 LLVMContextImpl *pImpl = Context.pImpl; in getFalse() local
858 if (!pImpl->TheFalseVal) in getFalse()
859 pImpl->TheFalseVal = ConstantInt::get(Type::getInt1Ty(Context), 0); in getFalse()
860 return pImpl->TheFalseVal; in getFalse()
890 LLVMContextImpl *pImpl = Context.pImpl; in get() local
891 std::unique_ptr<ConstantInt> &Slot = pImpl->IntConstants[V]; in get()
[all …]
DValue.cpp214 BOI.Tag = Assume->getContext().pImpl->getOrInsertBundleTag("ignore"); in dropDroppableUse()
273 auto I = Ctx.pImpl->ValueNames.find(this); in getValueName()
274 assert(I != Ctx.pImpl->ValueNames.end() && in getValueName()
283 assert(HasName == Ctx.pImpl->ValueNames.count(this) && in setValueName()
288 Ctx.pImpl->ValueNames.erase(this); in setValueName()
294 Ctx.pImpl->ValueNames[this] = VN; in setValueName()
1061 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in AddToUseList() local
1066 ValueHandleBase *&Entry = pImpl->ValueHandles[getValPtr()]; in AddToUseList()
1077 DenseMap<Value*, ValueHandleBase*> &Handles = pImpl->ValueHandles; in AddToUseList()
1119 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in RemoveFromUseList() local
[all …]
DMetadata.cpp69 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue()
108 auto *&Entry = Context.pImpl->MetadataAsValues[MD]; in get()
117 auto &Store = Context.pImpl->MetadataAsValues; in getIfExists()
124 auto &Store = Context.pImpl->MetadataAsValues; in handleChangedMetadata()
372 auto *&Entry = Context.pImpl->ValuesAsMetadata[V]; in get()
389 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists()
395 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion()
418 auto &Store = Context.pImpl->ValuesAsMetadata; in handleRAUW()
474 auto &Store = Context.pImpl->MDStringCache; in get()
813 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \ in uniquify()
[all …]
DInlineAsm.cpp48 LLVMContextImpl *pImpl = FTy->getContext().pImpl; in get() local
49 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(FTy), Key); in get()
53 getType()->getContext().pImpl->InlineAsms.remove(this); in destroyConstant()
DGlobals.cpp188 return getContext().pImpl->GlobalValuePartitions[this]; in getPartition()
199 S = getContext().pImpl->Saver.save(S); in setPartition()
200 getContext().pImpl->GlobalValuePartitions[this] = S; in setPartition()
209 return getContext().pImpl->GlobalObjectSections[this]; in getSectionImpl()
220 S = getContext().pImpl->Saver.save(S); in setSection()
221 getContext().pImpl->GlobalObjectSections[this] = S; in setSection()
DDebugInfoMetadata.cpp66 if (auto *N = getUniqued(Context.pImpl->DILocations, in getImpl()
82 Storage, Context.pImpl->DILocations); in getImpl()
291 if (auto *N = getUniqued(Context.pImpl->GenericDINodes, Key)) in getImpl()
305 Storage, Context.pImpl->GenericDINodes); in getImpl()
317 if (auto *N = getUniqued(Context.pImpl->CLASS##s, \
330 Storage, Context.pImpl->CLASS##s)
333 Storage, Context.pImpl->CLASS##s)
336 Storage, Context.pImpl->CLASS##s)
340 Storage, Context.pImpl->CLASS##s)
633 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; in buildODRType()
[all …]
DLLVMContextImpl.cpp149 Context.pImpl->dropTriviallyDeadConstantArrays(); in dropTriviallyDeadConstantArrays()
DDIBuilder.cpp170 unsigned EntitiesCount = C.pImpl->DIImportedEntitys.size(); in createImportedModule()
173 if (EntitiesCount < C.pImpl->DIImportedEntitys.size()) in createImportedModule()
DInstructions.cpp378 auto *ContextImpl = getContext().pImpl; in populateBundleOperandInfos()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DAttributes.h98 AttributeImpl *pImpl = nullptr;
100 Attribute(AttributeImpl *A) : pImpl(A) {} in Attribute()
167 bool isValid() const { return pImpl; } in isValid()
231 bool operator==(Attribute A) const { return pImpl == A.pImpl; }
232 bool operator!=(Attribute A) const { return pImpl != A.pImpl; }
241 return pImpl; in getRawPointer()
415 AttributeListImpl *pImpl = nullptr;
431 explicit AttributeList(AttributeListImpl *LI) : pImpl(LI) {}
766 bool operator==(const AttributeList &RHS) const { return pImpl == RHS.pImpl; }
767 bool operator!=(const AttributeList &RHS) const { return pImpl != RHS.pImpl; }
[all …]
DLLVMContext.h70 LLVMContextImpl *const pImpl;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DValueMapper.cpp1100 static Mapper *getAsMapper(void *pImpl) { in getAsMapper() argument
1101 return reinterpret_cast<Mapper *>(pImpl); in getAsMapper()
1110 explicit FlushingMapper(void *pImpl) : M(*getAsMapper(pImpl)) { in FlushingMapper() argument
1124 : pImpl(new Mapper(VM, Flags, TypeMapper, Materializer)) {} in ValueMapper()
1126 ValueMapper::~ValueMapper() { delete getAsMapper(pImpl); } in ~ValueMapper()
1131 return getAsMapper(pImpl)->registerAlternateMappingContext(VM, Materializer); in registerAlternateMappingContext()
1135 FlushingMapper(pImpl)->addFlags(Flags); in addFlags()
1139 return FlushingMapper(pImpl)->mapValue(&V); in mapValue()
1147 return FlushingMapper(pImpl)->mapMetadata(&MD); in mapMetadata()
1155 FlushingMapper(pImpl)->remapInstruction(&I); in remapInstruction()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DLiveDebugVariables.cpp1324 if (!pImpl) in runOnMachineFunction()
1325 pImpl = new LDVImpl(this); in runOnMachineFunction()
1326 return static_cast<LDVImpl *>(pImpl)->runOnMachineFunction(mf, InstrRef); in runOnMachineFunction()
1330 if (pImpl) in releaseMemory()
1331 static_cast<LDVImpl*>(pImpl)->clear(); in releaseMemory()
1335 if (pImpl) in ~LiveDebugVariables()
1336 delete static_cast<LDVImpl*>(pImpl); in ~LiveDebugVariables()
1518 if (pImpl) in splitRegister()
1519 static_cast<LDVImpl*>(pImpl)->splitRegister(OldReg, NewRegs); in splitRegister()
1934 if (pImpl) in emitDebugValues()
[all …]
DLiveDebugVariables.h33 void *pImpl = nullptr; variable
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
DValueMapper.h144 void *pImpl; variable