| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCWinCOFFStreamer.cpp | 73 SwitchSection(getContext().getObjectFileInfo()->getTextSection()); in InitSections() 76 SwitchSection(getContext().getObjectFileInfo()->getDataSection()); in InitSections() 79 SwitchSection(getContext().getObjectFileInfo()->getBSSSection()); in InitSections() 82 SwitchSection(getContext().getObjectFileInfo()->getTextSection()); in InitSections() 184 if (getContext().getTargetTriple().getArch() != Triple::x86) in EmitCOFFSafeSEH() 236 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFSecRel32() 251 Symbol, MCSymbolRefExpr::VK_COFF_IMGREL32, getContext()); in EmitCOFFImgRel32() 255 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFImgRel32() 268 const Triple &T = getContext().getTargetTriple(); in emitCommonSymbol() 317 Symbol, MCSymbolRefExpr::VK_WEAKREF, getContext())); in emitWeakReference() [all …]
|
| H A D | MCStreamer.cpp | 319 getContext().reportError( in checkCVLocSection() 328 getContext().reportError( in checkCVLocSection() 436 return getContext().reportError( in emitCFIStartProc() 684 getContext().reportError( in EnsureValidWinFrameInfo() 689 getContext().reportError( in EnsureValidWinFrameInfo() 699 return getContext().reportError( in EmitWinCFIStartProc() 702 getContext().reportError( in EmitWinCFIStartProc() 761 return getContext().reportError( in EmitWinCFIEndChained() 776 return getContext().reportError( in EmitWinEHHandler() 869 return getContext().reportError( in EmitWinCFISetFrame() [all …]
|
| H A D | MCObjectStreamer.cpp | 234 getContext().reportError( in emitValueImpl() 255 Frame.Begin = getContext().createTempSymbol(); in emitCFIStartProcImpl() 260 Frame.End = getContext().createTempSymbol(); in emitCFIEndProcImpl() 337 getContext().clearDwarfLocSeen(); in changeSectionImpl() 463 MCContext &Context = OS.getContext(); in buildSymbolDiff() 515 MCContext &Ctx = getContext(); in emitDwarfLineEndEntry() 545 getContext().getCVContext().recordCVLoc(getContext(), LineSym, FunctionId, in emitCVLocDirective() 757 MCSymbolRefExpr::create(getContext().createTempSymbol(), getContext()); in emitRelocDirective() 813 getContext().getSourceManager()->PrintMessage( in emitFill() 869 getContext().RemapDebugPaths(); in finishImpl() [all …]
|
| H A D | MCDwarf.cpp | 109 if (!MCOS->getContext().getDwarfLocSeen()) in make() 124 MCOS->getContext().clearDwarfLocSeen(); in make() 127 MCOS->getContext() in make() 237 MCContext &context = MCOS->getContext(); in emit() 298 MCContext &Context = OS.getContext(); in forceExpAbs() 330 MCContext &Ctx = MCOS->getContext(); in emitRef() 455 MCContext &context = MCOS->getContext(); in Emit() 641 MCContext &Context = MCOS->getContext(); in Emit() 746 MCContext &context = MCOS->getContext(); in EmitGenDwarfAbbrev() 796 MCContext &context = MCOS->getContext(); in EmitGenDwarfAranges() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetObjectFile.cpp | 43 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); in getTTypeGlobalReference() 44 MCSymbol *PCSym = getContext().createTempSymbol(); in getTTypeGlobalReference() 46 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference() 47 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference() 68 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); in getIndirectSymViaGOTPCRel() 69 MCSymbol *PCSym = getContext().createTempSymbol(); in getIndirectSymViaGOTPCRel() 71 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getIndirectSymViaGOTPCRel() 72 return MCBinaryExpr::createSub(Res, PC, getContext()); in getIndirectSymViaGOTPCRel()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetObjectFile.cpp | 27 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getTTypeGlobalReference() 28 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference() 29 return MCBinaryExpr::createAdd(Res, Four, getContext()); in getTTypeGlobalReference() 50 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel() 51 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel() 52 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel() 57 return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext()); in getDebugThreadLocalSymbol()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SanitizerStats.cpp | 25 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport() 37 return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()), in makeModuleStatsTy() 38 Type::getInt32Ty(M->getContext()), in makeModuleStatsTy() 77 PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); in finish() 78 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); in finish() 79 Type *VoidTy = Type::getVoidTy(M->getContext()); in finish() 96 auto BB = BasicBlock::Create(M->getContext(), "", F); in finish()
|
| H A D | UnifyFunctionExitNodes.cpp | 59 BasicBlock::Create(F.getContext(), "UnifiedUnreachableBlock", &F); in unifyUnreachableBlocks() 60 new UnreachableInst(F.getContext(), UnreachableBlock); in unifyUnreachableBlocks() 83 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), in unifyReturnBlocks() 88 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); in unifyReturnBlocks() 94 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in unifyReturnBlocks()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MachObjectWriter.cpp | 102 Asm.getContext().reportError(Fixup.getLoc(), in getAArch64FixupKindMachOInfo() 182 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 193 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 212 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 244 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 251 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 264 Asm.getContext().reportError( in recordRelocation() 271 Asm.getContext().reportError( in recordRelocation() 279 Asm.getContext().reportError( in recordRelocation() 311 Asm.getContext().reportError( in recordRelocation() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCELFStreamer.cpp | 75 const SourceMgr *SourceManager = getContext().getSourceManager(); in emitPrefixedInstruction() 149 getContext().getOrCreateSymbol(SymExpr->getSymbol().getName()); in emitGOTToPCRelReloc() 150 const MCExpr *LabelExpr = MCSymbolRefExpr::create(LabelSym, getContext()); in emitGOTToPCRelReloc() 151 const MCExpr *Eight = MCConstantExpr::create(8, getContext()); in emitGOTToPCRelReloc() 154 MCBinaryExpr::createSub(LabelExpr, Eight, getContext()); in emitGOTToPCRelReloc() 155 MCSymbol *CurrentLocation = getContext().createTempSymbol(); in emitGOTToPCRelReloc() 157 MCSymbolRefExpr::create(CurrentLocation, getContext()); in emitGOTToPCRelReloc() 160 MCBinaryExpr::createSub(CurrentLocationExpr, SubExpr, getContext()); in emitGOTToPCRelReloc() 184 getContext().getOrCreateSymbol(SymExpr->getSymbol().getName()); in emitGOTToPCRelLabel()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 308 auto &C = getContext(); in emitModuleMetadata() 952 return getContext().getELFSection( in getSectionForLSDA() 1094 MCSymbolRefExpr::create(TM.getSymbol(RHS), getContext()), getContext()); in lowerRelativeReference() 1122 MCContext &Ctx = getContext(); in InitializeELF() 1207 Streamer.emitLabel(getContext(). in emitModuleMetadata() 1447 MCContext &Ctx = getContext(); in getIndirectSymViaGOTPCRel() 1749 auto &C = getContext(); in emitModuleMetadata() 1892 getContext(), getContext().getTargetTriple(), true, Priority, KeySym, in getStaticCtorSection() 1899 getContext(), getContext().getTargetTriple(), false, Priority, KeySym, in getStaticDtorSection() 2147 MCSymbolRefExpr::create(TM.getSymbol(RHS), getContext()), getContext()); in lowerRelativeReference() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Metadata.cpp | 122 LLVMContext &Context = getContext(); in handleChangedMetadata() 371 auto &Context = V->getContext(); in get() 1090 return MDNode::get(A->getContext(), MDs); in getMostGenericRange() 1258 getContext().pImpl->ValueMetadata.erase(this); in setMetadata() 1265 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata() 1276 addMetadata(getContext().getMDKindID(Kind), MD); in addMetadata() 1296 getContext().pImpl->ValueMetadata.erase(this); in clearMetadata() 1350 MDBuilder MDB(getContext()); in addAnnotationMetadata() 1366 MDNode *MD = MDTuple::get(getContext(), Names); in addAnnotationMetadata() 1501 *MDTuple::get(getContext(), in addTypeMetadata() [all …]
|
| H A D | Constants.cpp | 353 return ConstantFP::get(Ty->getContext(), in getNullValue() 356 return ConstantFP::get(Ty->getContext(), in getNullValue() 359 return ConstantFP::get(Ty->getContext(), in getNullValue() 362 return ConstantFP::get(Ty->getContext(), in getNullValue() 949 LLVMContext &Context = Ty->getContext(); in get() 977 LLVMContext &Context = Ty->getContext(); in get() 2967 *Ty->getContext() in getImpl() 3139 return get(V->getContext(), Elts); in getSplat() 3143 return get(V->getContext(), Elts); in getSplat() 3147 return get(V->getContext(), Elts); in getSplat() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleContextTracker.cpp | 89 FSamples->getContext().promoteOnPath(ContextStrToRemove); in moveToChildContext() 90 FSamples->getContext().setState(SyntheticContext); in moveToChildContext() 254 Samples->getContext().setState(InlinedContext); in getContextSamplesFor() 301 SampleContext &Context = CSamples->getContext(); in getBaseSamplesFor() 327 << InlinedSamples->getContext() << "\n"); in markContextSamplesInlined() 328 InlinedSamples->getContext().setState(InlinedContext); in markContextSamplesInlined() 379 << FromSamples->getContext() << "\n"); in promoteMergeContextSamplesTree() 381 assert(!FromSamples->getContext().hasState(InlinedContext) && in promoteMergeContextSamplesTree() 511 ToSamples->getContext().setState(SyntheticContext); in mergeContextNode() 512 FromSamples->getContext().setState(MergedContext); in mergeContextNode() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 38 uint32_t AddrSpc = CGM.getContext().getTargetAddressSpace( in convertOpenCLSpecificType() 39 CGM.getContext().getOpenCLTypeAddrSpace(T)); in convertOpenCLSpecificType() 84 CGM.getContext().getTargetAddressSpace( in getPipeType() 85 CGM.getContext().getOpenCLTypeAddrSpace(T))); in getPipeType() 93 CGM.getContext().getTargetAddressSpace( in getSamplerType() 94 CGM.getContext().getOpenCLTypeAddrSpace(T))); in getSamplerType() 102 unsigned TypeSize = CGM.getContext() in getPipeElemSize() 112 unsigned TypeSize = CGM.getContext() in getPipeElemAlign() 122 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in getGenericVoidPointerType()
|
| H A D | TargetInfo.cpp | 108 if (EIT->getNumBits() < getContext().getTypeSize(getContext().IntTy)) in isPromotableIntegerTypeForABI() 206 ASTContext &ABIInfo::getContext() const { in getContext() function in ABIInfo 207 return CGT.getContext(); in getContext() 734 ASTContext &Context = getContext(); in classifyArgumentType() 759 getContext().getTypeSize(getContext().getTargetInfo().hasInt128Type() in classifyReturnType() 2119 Fn->getContext(), ByValTy); in addX86InterruptAttrs() 5150 getContext().getTypeSize(VT) / getContext().getTypeSize(EltTy); in isHomogeneousAggregate() 5151 Base = getContext() in isHomogeneousAggregate() 5158 getContext().getTypeSize(Base) != getContext().getTypeSize(TyPtr)) in isHomogeneousAggregate() 7285 auto &Ctx = M.getContext(); in testFPKind() [all …]
|
| H A D | CGDebugInfo.cpp | 660 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType() 1133 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in getOrCreateStructPtrType() 1151 FType = CGM.getContext().IntTy; in collectDefaultElementTypesForBlockPointer() 1155 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in collectDefaultElementTypesForBlockPointer() 1162 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in collectDefaultElementTypesForBlockPointer() 2168 CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo() 2194 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo() 4165 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr() 4168 FType = CGM.getContext().IntTy; in EmitTypeForVarWithBlocksAttr() 4174 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr() [all …]
|
| H A D | CGObjCRuntime.cpp | 33 return CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar) / in ComputeIvarBaseOffset() 34 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset() 40 return CGM.getContext().lookupFieldBitOffset(OID->getClassInterface(), OID, in ComputeIvarBaseOffset() 42 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset() 49 return CGM.getContext().lookupFieldBitOffset(ID, ID->getImplementation(), in ComputeBitfieldBitOffset() 62 CGF.CGM.getContext().getObjCObjectPointerType(InterfaceTy); in EmitValueForIvarAtOffset() 90 CGF.CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar); in EmitValueForIvarAtOffset() 93 uint64_t BitFieldSize = Ivar->getBitWidthValue(CGF.getContext()); in EmitValueForIvarAtOffset() 94 CharUnits StorageSize = CGF.CGM.getContext().toCharUnitsFromBits( in EmitValueForIvarAtOffset() 104 CGBitFieldInfo *Info = new (CGF.CGM.getContext()) CGBitFieldInfo( in EmitValueForIvarAtOffset() [all …]
|
| H A D | CGObjC.cpp | 122 ASTContext &Context = CGM.getContext(); in EmitObjCCollectionLiteral() 817 ASTContext &Context = CGF.getContext(); in emitStructGetterCall() 1202 getContext().BoolTy); in generateObjCGetterBody() 1500 getContext().BoolTy); in generateObjCSetterBody() 1502 getContext().BoolTy); in generateObjCSetterBody() 1694 DeclRefExpr DRE(getContext(), Self, in LoadObjCSelf() 1743 &CGM.getContext().Idents.get("count") in EmitObjCForCollectionStmt() 1749 getContext().getConstantArrayType(getContext().getObjCIdType(), in EmitObjCForCollectionStmt() 1925 auto &C = CGM.getContext(); in EmitObjCForCollectionStmt() 3683 ASTContext &C = getContext(); in GenerateObjCAtomicSetterCopyHelperFunction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOptimizationRemarkEmitter.h | 76 LLVMContext &Ctx = Fn.getContext(); in isEnabled() 102 LLVMContext &Ctx = Fn.getContext(); in isEnabled() 128 LLVMContext &Ctx = Fn.getContext(); in isEnabled() 162 MF.getFunction().getContext().getLLVMRemarkStreamer() || in allowExtraAnalysis() 163 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled( in allowExtraAnalysis() 175 if (MF.getFunction().getContext().getLLVMRemarkStreamer() || 177 .getContext()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86WinCOFFTargetStreamer.cpp | 82 MCContext &getContext() { return getStreamer().getContext(); } in getContext() function in __anonbed387500111::X86WinCOFFTargetStreamer 102 ProcSym->print(OS, getStreamer().getContext().getAsmInfo()); in emitFPOProc() 120 ProcSym->print(OS, getStreamer().getContext().getAsmInfo()); in emitFPOData() 152 getContext().reportError( in checkInFPOPrologue() 161 MCSymbol *Label = getContext().createTempSymbol("cfi", true); in emitFPOLabel() 169 getContext().reportError( in emitFPOProc() 188 getContext().reportError(L, "missing .cv_fpo_endprologue"); in emitFPOEndProc() 242 getContext().reportError( in emitFPOStackAlign() 320 const MCRegisterInfo *MRI = OS.getContext().getRegisterInfo(); in emitFrameDataRecord() 356 CodeViewContext &CVCtx = OS.getContext().getCVContext(); in emitFrameDataRecord() [all …]
|
| H A D | X86MachObjectWriter.cpp | 157 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation() 165 Asm.getContext().reportError( in RecordX86_64Relocation() 181 Asm.getContext().reportError( in RecordX86_64Relocation() 266 Asm.getContext().reportError( in RecordX86_64Relocation() 286 Asm.getContext().reportError( in RecordX86_64Relocation() 314 Asm.getContext().reportError( in RecordX86_64Relocation() 333 Asm.getContext().reportError( in RecordX86_64Relocation() 337 Asm.getContext().reportError( in RecordX86_64Relocation() 343 Asm.getContext().reportError( in RecordX86_64Relocation() 380 Asm.getContext().reportError( in recordScatteredRelocation() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | MCAsmParserExtension.cpp | 52 MCSymbol *FromSym = getContext().getOrCreateSymbol(From); in ParseDirectiveCGProfile() 53 MCSymbol *ToSym = getContext().getOrCreateSymbol(To); in ParseDirectiveCGProfile() 56 MCSymbolRefExpr::create(FromSym, MCSymbolRefExpr::VK_None, getContext(), in ParseDirectiveCGProfile() 58 MCSymbolRefExpr::create(ToSym, MCSymbolRefExpr::VK_None, getContext(), in ParseDirectiveCGProfile()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXImageOptimizer.cpp | 97 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler() 101 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSampler() 114 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface() 120 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSurface() 132 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture() 139 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePTexture()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetObjectFile.cpp | 48 SmallDataSection = getContext().getELFSection( in Initialize() 52 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize() 191 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext()); in getDebugThreadLocalSymbol() 193 Expr, MCConstantExpr::create(0x8000, getContext()), getContext()); in getDebugThreadLocalSymbol() 194 return MipsMCExpr::create(MipsMCExpr::MEK_DTPREL, Expr, getContext()); in getDebugThreadLocalSymbol()
|