/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | LLVMContext.cpp | 34 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() 49 auto *DeoptEntry = pImpl->getOrInsertBundleTag("deopt"); in LLVMContext() 54 auto *FuncletEntry = pImpl->getOrInsertBundleTag("funclet"); in LLVMContext() 59 auto *GCTransitionEntry = pImpl->getOrInsertBundleTag("gc-transition"); in LLVMContext() 64 auto *CFGuardTargetEntry = pImpl->getOrInsertBundleTag("cfguardtarget"); in LLVMContext() 69 auto *PreallocatedEntry = pImpl->getOrInsertBundleTag("preallocated"); in LLVMContext() 74 auto *GCLiveEntry = pImpl->getOrInsertBundleTag("gc-live"); in LLVMContext() 80 pImpl->getOrInsertBundleTag("clang.arc.attachedcall"); in LLVMContext() 85 auto *PtrauthEntry = pImpl->getOrInsertBundleTag("ptrauth"); in LLVMContext() 90 auto *KCFIEntry = pImpl->getOrInsertBundleTag("kcfi"); in LLVMContext() [all …]
|
H A D | Type.cpp | 237 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy() 238 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy() 239 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy() 240 Type *Type::getBFloatTy(LLVMContext &C) { return &C.pImpl->BFloatTy; } in getBFloatTy() 241 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy() 242 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy() 243 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy() 244 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy() 245 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty() 246 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty() [all …]
|
H A D | Attributes.cpp | 100 LLVMContextImpl *pImpl = Context.pImpl; in get() local 109 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 115 PA = new (pImpl->Alloc) EnumAttributeImpl(Kind); in get() 117 PA = new (pImpl->Alloc) IntAttributeImpl(Kind, Val); in get() 118 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->Alloc.Allocate(StringAttributeImpl::totalSizeToAlloc(Kind, Val), in get() 141 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 151 LLVMContextImpl *pImpl = Context.pImpl; in get() local [all …]
|
H A D | Constants.cpp | 851 LLVMContextImpl *pImpl = Context.pImpl; in getTrue() local 852 if (!pImpl->TheTrueVal) in getTrue() 853 pImpl->TheTrueVal = ConstantInt::get(Type::getInt1Ty(Context), 1); in getTrue() 854 return pImpl->TheTrueVal; in getTrue() 858 LLVMContextImpl *pImpl = Context.pImpl; in getFalse() local 859 if (!pImpl->TheFalseVal) in getFalse() 860 pImpl->TheFalseVal = ConstantInt::get(Type::getInt1Ty(Context), 0); in getFalse() 861 return pImpl->TheFalseVal; in getFalse() 891 LLVMContextImpl *pImpl = Context.pImpl; in get() local 893 V.isZero() ? pImpl->IntZeroConstants[V.getBitWidth()] in get() [all …]
|
H A D | Value.cpp | 226 BOI.Tag = Assume->getContext().pImpl->getOrInsertBundleTag("ignore"); in dropDroppableUse() 285 auto I = Ctx.pImpl->ValueNames.find(this); in getValueName() 286 assert(I != Ctx.pImpl->ValueNames.end() && in getValueName() 295 assert(HasName == Ctx.pImpl->ValueNames.count(this) && in setValueName() 300 Ctx.pImpl->ValueNames.erase(this); in setValueName() 306 Ctx.pImpl->ValueNames[this] = VN; in setValueName() 1136 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in AddToUseList() local 1141 ValueHandleBase *&Entry = pImpl->ValueHandles[getValPtr()]; in AddToUseList() 1152 DenseMap<Value*, ValueHandleBase*> &Handles = pImpl->ValueHandles; in AddToUseList() 1194 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in RemoveFromUseList() local [all …]
|
H A D | Globals.cpp | 217 return getContext().pImpl->GlobalValuePartitions[this]; in getPartition() 228 S = getContext().pImpl->Saver.save(S); in setPartition() 229 getContext().pImpl->GlobalValuePartitions[this] = S; in setPartition() 239 assert(getContext().pImpl->GlobalValueSanitizerMetadata.count(this)); in getSanitizerMetadata() 240 return getContext().pImpl->GlobalValueSanitizerMetadata[this]; in getSanitizerMetadata() 244 getContext().pImpl->GlobalValueSanitizerMetadata[this] = Meta; in setSanitizerMetadata() 250 getContext().pImpl->GlobalValueSanitizerMetadata; in removeSanitizerMetadata() 264 return getContext().pImpl->GlobalObjectSections[this]; in getSectionImpl() 275 S = getContext().pImpl->Saver.save(S); in setSection() 276 getContext().pImpl->GlobalObjectSections[this] = S; in setSection()
|
H A D | Metadata.cpp | 66 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue() 105 auto *&Entry = Context.pImpl->MetadataAsValues[MD]; in get() 114 auto &Store = Context.pImpl->MetadataAsValues; in getIfExists() 121 auto &Store = Context.pImpl->MetadataAsValues; in handleChangedMetadata() 337 auto &Store = Context.pImpl->ValuesAsMetadata; in SalvageDebugInfo() 499 auto *&Entry = Context.pImpl->ValuesAsMetadata[V]; in get() 516 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists() 522 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion() 545 auto &Store = Context.pImpl->ValuesAsMetadata; in handleRAUW() 601 auto &Store = Context.pImpl->MDStringCache; in get() [all …]
|
H A D | InlineAsm.cpp | 49 LLVMContextImpl *pImpl = FTy->getContext().pImpl; in get() local 50 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(FTy), Key); in get() 54 getType()->getContext().pImpl->InlineAsms.remove(this); in destroyConstant()
|
H A D | DebugInfoMetadata.cpp | 88 if (auto *N = getUniqued(Context.pImpl->DILocations, in getImpl() 104 Storage, Context.pImpl->DILocations); in getImpl() 399 if (auto *N = getUniqued(Context.pImpl->GenericDINodes, Key)) in getImpl() 413 Storage, Context.pImpl->GenericDINodes); in getImpl() 425 if (auto *N = getUniqued(Context.pImpl->CLASS##s, \ 438 Storage, Context.pImpl->CLASS##s) 442 Storage, Context.pImpl->CLASS##s) 445 Storage, Context.pImpl->CLASS##s) 449 Storage, Context.pImpl->CLASS##s) 803 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; in buildODRType() [all …]
|
H A D | TypedPointerType.cpp | 21 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; in get()
|
H A D | BasicBlock.cpp | 1158 getContext().pImpl->setTrailingDbgRecords(this, foo); in setTrailingDbgRecords() 1162 return getContext().pImpl->getTrailingDbgRecords(this); in getTrailingDbgRecords() 1166 getContext().pImpl->deleteTrailingDbgRecords(this); in deleteTrailingDbgRecords()
|
H A D | LLVMContextImpl.cpp | 177 Context.pImpl->dropTriviallyDeadConstantArrays(); in dropTriviallyDeadConstantArrays()
|
H A D | DIBuilder.cpp | 168 unsigned EntitiesCount = C.pImpl->DIImportedEntitys.size(); in createImportedModule() 171 if (EntitiesCount < C.pImpl->DIImportedEntitys.size()) in createImportedModule()
|
H A D | DebugInfo.cpp | 1799 auto &Map = Ctx.pImpl->AssignmentIDToInstrs; in getAssignmentInsts()
|
H A D | Instructions.cpp | 493 auto *ContextImpl = getContext().pImpl; in populateBundleOperandInfos()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Attributes.h | 121 AttributeImpl *pImpl = nullptr; 123 Attribute(AttributeImpl *A) : pImpl(A) {} in Attribute() 203 bool isValid() const { return pImpl; } in isValid() 295 bool operator==(Attribute A) const { return pImpl == A.pImpl; } 296 bool operator!=(Attribute A) const { return pImpl != A.pImpl; } 305 return pImpl; in getRawPointer() 485 AttributeListImpl *pImpl = nullptr; 501 explicit AttributeList(AttributeListImpl *LI) : pImpl(LI) {} 985 bool operator==(const AttributeList &RHS) const { return pImpl == RHS.pImpl; } 986 bool operator!=(const AttributeList &RHS) const { return pImpl != RHS.pImpl; } [all …]
|
H A D | LLVMContext.h | 69 LLVMContextImpl *const pImpl;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ValueMapper.cpp | 1181 static Mapper *getAsMapper(void *pImpl) { in getAsMapper() argument 1182 return reinterpret_cast<Mapper *>(pImpl); in getAsMapper() 1191 explicit FlushingMapper(void *pImpl) : M(*getAsMapper(pImpl)) { in FlushingMapper() argument 1205 : pImpl(new Mapper(VM, Flags, TypeMapper, Materializer)) {} in ValueMapper() 1207 ValueMapper::~ValueMapper() { delete getAsMapper(pImpl); } in ~ValueMapper() 1212 return getAsMapper(pImpl)->registerAlternateMappingContext(VM, Materializer); in registerAlternateMappingContext() 1216 FlushingMapper(pImpl)->addFlags(Flags); in addFlags() 1220 return FlushingMapper(pImpl)->mapValue(&V); in mapValue() 1228 return FlushingMapper(pImpl)->mapMetadata(&MD); in mapMetadata() 1236 FlushingMapper(pImpl)->remapInstruction(&I); in remapInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LiveDebugVariables.cpp | 1313 if (!pImpl) in runOnMachineFunction() 1314 pImpl = new LDVImpl(this); in runOnMachineFunction() 1315 return static_cast<LDVImpl *>(pImpl)->runOnMachineFunction(mf, InstrRef); in runOnMachineFunction() 1319 if (pImpl) in releaseMemory() 1320 static_cast<LDVImpl*>(pImpl)->clear(); in releaseMemory() 1324 if (pImpl) in ~LiveDebugVariables() 1325 delete static_cast<LDVImpl*>(pImpl); in ~LiveDebugVariables() 1507 if (pImpl) in splitRegister() 1508 static_cast<LDVImpl*>(pImpl)->splitRegister(OldReg, NewRegs); in splitRegister() 1962 if (pImpl) in emitDebugValues() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LiveDebugVariables.h | 33 void *pImpl = nullptr; variable
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ValueMapper.h | 150 void *pImpl; variable
|