Home
last modified time | relevance | path

Searched refs:getContext (Results 1 – 25 of 1102) sorted by relevance

12345678910>>...45

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp20 ASTContext &ABIInfo::getContext() const { return CGT.getContext(); } in getContext() function in ABIInfo
58 return getContext().getLangOpts().CPlusPlus; in isZeroLengthBitfieldPermittedInHomogeneousAggregate()
63 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in isHomogeneousAggregate()
85 if (isEmptyRecord(getContext(), I.getType(), true)) in isHomogeneousAggregate()
100 getContext().getAsConstantArrayType(FT)) { in isHomogeneousAggregate()
105 if (isEmptyRecord(getContext(), FT, true)) in isHomogeneousAggregate()
124 if (getContext().getTypeSize(Base) * Members != in isHomogeneousAggregate()
125 getContext().getTypeSize(Ty)) in isHomogeneousAggregate()
149 getContext().getTypeSize(VT) / getContext().getTypeSize(EltTy); in isHomogeneousAggregate()
150 Base = getContext() in isHomogeneousAggregate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCWinCOFFStreamer.cpp143 switchSection(getContext().getObjectFileInfo()->getTextSection()); in initSections()
146 switchSection(getContext().getObjectFileInfo()->getDataSection()); in initSections()
149 switchSection(getContext().getObjectFileInfo()->getBSSSection()); in initSections()
152 switchSection(getContext().getObjectFileInfo()->getTextSection()); in initSections()
248 if (getContext().getTargetTriple().getArch() != Triple::x86) in emitCOFFSafeSEH()
255 MCSection *SXData = getContext().getObjectFileInfo()->getSXDataSection(); in emitCOFFSafeSEH()
260 insert(getContext().allocFragment<MCSymbolIdFragment>(Symbol)); in emitCOFFSafeSEH()
275 insert(getContext().allocFragment<MCSymbolIdFragment>(Symbol)); in emitCOFFSymbolIndex()
282 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext()); in emitCOFFSectionIndex()
293 const MCExpr *MCE = MCSymbolRefExpr::create(Symbol, getContext()); in emitCOFFSecRel32()
[all …]
H A DMCObjectStreamer.cpp59 getContext().reportError(PendingFixup.Fixup.getLoc(), in resolvePendingFixups()
115 if (getContext().getTargetOptions()) in reset()
116 Assembler->setRelaxAll(getContext().getTargetOptions()->MCRelaxAll); in reset()
157 F = getContext().allocFragment<MCDataFragment>(); in getOrCreateDataFragment()
184 getContext().reportError( in emitValueImpl()
197 MCSymbol *Label = getContext().createTempSymbol("cfi"); in emitCFILabel()
204 Frame.Begin = getContext().createTempSymbol(); in emitCFIStartProcImpl()
209 Frame.End = getContext().createTempSymbol(); in emitCFIEndProcImpl()
259 insert(getContext().allocFragment<MCLEBFragment>(*Value, false)); in emitULEB128Value()
268 insert(getContext().allocFragment<MCLEBFragment>(*Value, true)); in emitSLEB128Value()
[all …]
H A DMCStreamer.cpp62 Section->printSwitchToSection(*Streamer.getContext().getAsmInfo(), in changeSection()
63 Streamer.getContext().getTargetTriple(), OS, in changeSection()
75 Streamer.getContext().getAsmInfo()->printExpr(OS, *Value); in emitValue()
80 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitRawBytes()
189 emitValueImpl(MCSymbolRefExpr::create(Sym, getContext()), Size); in emitSymbolValue()
198 emitFill(*MCConstantExpr::create(NumBytes, getContext()), FillValue); in emitFill()
211 return getContext().getDwarfFile(Directory, Filename, FileNo, Checksum, in tryEmitDwarfFileDirective()
220 getContext().setMCLineTableRootFile(CUID, Directory, Filename, Checksum, in emitDwarfFile0Directive()
242 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa, in emitDwarfLocDirective()
247 getContext() in emitDwarfLocLabelDirective()
[all …]
H A DMCObjectWriter.cpp23 MCContext &MCObjectWriter::getContext() const { return Asm->getContext(); } in getContext() function in MCObjectWriter
57 MCContext &MCObjectTargetWriter::getContext() const { in getContext() function in MCObjectTargetWriter
58 return Asm->getContext(); in getContext()
62 return Asm->getContext().reportError(L, Msg); in reportError()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp28 MCSymbolRefExpr::create(Sym, X86::S_GOTPCREL, getContext()); in getTTypeGlobalReference()
29 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference()
30 return MCBinaryExpr::createAdd(Res, Four, getContext()); in getTTypeGlobalReference()
51 MCSymbolRefExpr::create(Sym, X86::S_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel()
52 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel()
53 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel()
62 return MCSymbolRefExpr::create(Sym, X86::S_DTPOFF, getContext()); in getDebugThreadLocalSymbol()
70 MCSymbolRefExpr::create(Sym, X86::S_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel()
71 const MCExpr *Off = MCConstantExpr::create(FinalOffset, getContext()); in getIndirectSymViaGOTPCRel()
72 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp55 TS->emitAuthValue(MCSymbolRefExpr::create(Sym, getContext()), Discriminator, in emitPersonalityValueImpl()
64 MCSymbolRefExpr::create(Sym, AArch64::S_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel()
65 const MCExpr *Off = MCConstantExpr::create(FinalOffset, getContext()); in getIndirectSymViaGOTPCRel()
66 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel()
83 MCSymbolRefExpr::create(Sym, AArch64::S_MACHO_GOT, getContext()); in getTTypeGlobalReference()
84 MCSymbol *PCSym = getContext().createTempSymbol(); in getTTypeGlobalReference()
86 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference()
87 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference()
108 MCSymbolRefExpr::create(Sym, AArch64::S_MACHO_GOT, getContext()); in getIndirectSymViaGOTPCRel()
109 MCSymbol *PCSym = getContext().createTempSymbol(); in getIndirectSymViaGOTPCRel()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp22 *getContext().getSubtargetInfo()); in getTextSectionAlignment()
32 SmallDataSection = getContext().getELFSection( in Initialize()
34 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
37 getContext().getELFSection(".srodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
38 SmallROData4Section = getContext().getELFSection( in Initialize()
40 SmallROData8Section = getContext().getELFSection( in Initialize()
42 SmallROData16Section = getContext().getELFSection( in Initialize()
44 SmallROData32Section = getContext().getELFSection( in Initialize()
51 auto &Ctx = getContext(); in getIndirectSymViaGOTPCRel()
118 return getContext().getELFSection(Name.str(), ELF::SHT_NOBITS, in SelectSectionForGlobal()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp75 getContext().getTypeSize(RetTy) > (2 * GRLen)) { in computeInfo()
78 IsRetIndirect = getContext().getTypeSize(EltTy) > FRLen; in computeInfo()
110 uint64_t Size = getContext().getTypeSize(Ty); in detectFARsEligibleStructHelper()
138 if (getContext().getTypeSize(EltTy) > FRLen) in detectFARsEligibleStructHelper()
143 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper()
147 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { in detectFARsEligibleStructHelper()
154 isEmptyRecord(getContext(), EltTy, true, true)) in detectFARsEligibleStructHelper()
157 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper()
173 if (isEmptyRecord(getContext(), Ty, true, true) && in detectFARsEligibleStructHelper()
179 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD); in detectFARsEligibleStructHelper()
[all …]
H A DARM.cpp205 llvm::AttrBuilder B(Fn->getContext()); in setTargetAttributes()
296 uint64_t Size = getContext().getTypeSize(Ty); in coerceIllegalVector()
320 uint64_t Size = getContext().getTypeSize(VT); in classifyHomogeneousAggregate()
332 Align = getContext().getTypeUnadjustedAlignInChars(Ty).getQuantity(); in classifyHomogeneousAggregate()
333 unsigned BaseAlign = getContext().getTypeAlignInChars(Base).getQuantity(); in classifyHomogeneousAggregate()
340 uint64_t Size = getContext().getTypeSize(Ty); in shouldIgnoreEmptyArg()
341 assert((isEmptyRecord(getContext(), Ty, true) || Size == 0) && in shouldIgnoreEmptyArg()
345 if (!getContext().getLangOpts().CPlusPlus || in shouldIgnoreEmptyArg()
356 if (getContext().getLangOpts().getClangABICompat() <= in shouldIgnoreEmptyArg()
407 if (isEmptyRecord(getContext(), Ty, true) || in classifyArgumentType()
[all …]
H A DAMDGPU.cpp39 return llvm::PointerType::get(Ty->getContext(), ToAS); in coerceKernelArgumentType()
74 uint32_t NumRegs = (getContext().getTypeSize(Base) + 31) / 32; in isHomogeneousAggregateSmallEnough()
88 unsigned EltSize = getContext().getTypeSize(EltTy); in numRegsForType()
110 return (getContext().getTypeSize(Ty) + 31) / 32; in numRegsForType()
138 getContext().getTypeInfoInChars(Ty), in EmitVAArg()
148 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
152 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType()
162 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
190 if (const Type *SeltTy = isSingleElementStruct(Ty, getContext())) in classifyKernelArgumentType()
195 if (getContext().getLangOpts().HIP) { in classifyKernelArgumentType()
[all …]
H A DWebAssembly.cpp63 llvm::AttrBuilder B(GV->getContext()); in setTargetAttributes()
69 llvm::AttrBuilder B(GV->getContext()); in setTargetAttributes()
75 llvm::AttrBuilder B(GV->getContext()); in setTargetAttributes()
109 if (isEmptyRecord(getContext(), Ty, true)) in classifyArgumentType()
114 if (const Type *SeltTy = isSingleElementStruct(Ty, getContext())) in classifyArgumentType()
142 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
147 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType()
162 !isEmptyRecord(getContext(), Ty, true) && in EmitVAArg()
163 !isSingleElementStruct(Ty, getContext()); in EmitVAArg()
165 getContext().getTypeInfoInChars(Ty), in EmitVAArg()
H A DRISCV.cpp152 getContext().getTypeSize(RetTy) > (2 * XLen)) { in computeInfo()
155 IsRetIndirect = getContext().getTypeSize(EltTy) > FLen; in computeInfo()
188 uint64_t Size = getContext().getTypeSize(Ty); in detectFPCCEligibleStructHelper()
216 if (getContext().getTypeSize(EltTy) > FLen) in detectFPCCEligibleStructHelper()
221 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFPCCEligibleStructHelper()
225 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { in detectFPCCEligibleStructHelper()
232 isEmptyRecord(getContext(), EltTy, true, true)) in detectFPCCEligibleStructHelper()
235 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFPCCEligibleStructHelper()
251 if (isEmptyRecord(getContext(), Ty, true, true)) in detectFPCCEligibleStructHelper()
257 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD); in detectFPCCEligibleStructHelper()
[all …]
H A DNVPTX.cpp118 ASTContext &Context = getContext(); in isUnsupportedType()
154 const uint64_t Size = getContext().getTypeSize(Ty); in coerceToIntArrayWithLimit()
155 const uint64_t Alignment = getContext().getTypeAlign(Ty); in coerceToIntArrayWithLimit()
166 if (getContext().getLangOpts().OpenMP && in classifyReturnType()
167 getContext().getLangOpts().OpenMPIsTargetDevice && in classifyReturnType()
192 if (getContext().getLangOpts().CUDAIsDevice) { in classifyArgumentType()
207 (!getContext().getTargetInfo().hasInt128Type() && in classifyArgumentType()
237 getContext().getTypeInfoInChars(Ty), in EmitVAArg()
295 llvm::LLVMContext &Ctx = M->getContext(); in addNVVMMetadata()
313 llvm::LLVMContext &Ctx = M->getContext(); in addGridConstantNVVMMetadata()
[all …]
H A DPPC.cpp160 if (getContext().isPromotableIntegerType(Ty)) in isPromotableTypeForABI()
215 CharUnits TyAlign = getContext().getTypeAlignInChars(Ty); in classifyArgumentType()
237 if (isRecordWithSIMDVectorType(getContext(), Ty)) in getParamTypeAlignment()
246 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg()
382 return CharUnits::fromQuantity(getContext().getTypeSize(Ty) == 128 ? 16 in getParamTypeAlignment()
388 if (const Type *EltType = isSingleElementStruct(Ty, getContext())) { in getParamTypeAlignment()
390 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
405 (Size = getContext().getTypeSize(RetTy)) <= 64) { in classifyReturnType()
433 auto TI = getContext().getTypeInfoInChars(Ty); in EmitVAArg()
457 bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64; in EmitVAArg()
[all …]
H A DX86.cpp116 return isX86VectorTypeForVectorCall(getContext(), Ty); in isHomogeneousAggregateBaseType()
297 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType()); in addReturnRegisterOutputs()
445 if (!addBaseAndFieldSizes(getContext(), CXXRD, Size)) in canExpandIndirectArgument()
448 if (!addFieldSizes(getContext(), RD, Size)) in canExpandIndirectArgument()
453 return Size == getContext().getTypeSize(Ty); in canExpandIndirectArgument()
487 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
521 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
526 QualType ET = getContext().getCanonicalType(CT->getElementType()); in classifyReturnType()
534 if (shouldReturnTypeInRegister(RetTy, getContext())) { in classifyReturnType()
535 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DConstant.cpp38 return Ty->getContext().getOrCreateConstant(LLVMC); in getTrue()
42 return Ty->getContext().getOrCreateConstant(LLVMC); in getFalse()
46 return Ty->getContext().getOrCreateConstant(LLVMC); in getBool()
50 return cast<ConstantInt>(Ty->getContext().getOrCreateConstant(LLVMC)); in get()
54 return cast<ConstantInt>(Ty->getContext().getOrCreateConstant(LLVMC)); in get()
59 return cast<ConstantInt>(Ty->getContext().getOrCreateConstant(LLVMC)); in getSigned()
63 return Ty->getContext().getOrCreateConstant(LLVMC); in getSigned()
72 return cast<ConstantInt>(Ty->getContext().getOrCreateConstant(LLVMC)); in get()
76 return Ty->getContext().getOrCreateConstant(LLVMC); in get()
92 return Ty->getContext().getOrCreateConstant(LLVMC); in get()
[all …]
H A DType.cpp57 return cast<ArrayType>(ElementType->getContext().getType( in get()
72 return cast<VectorType>(ElementType->getContext().getType( in get()
80 return cast<VectorType>(VTy->getContext().getType( in getInteger()
85 VTy->getContext().getType(llvm::VectorType::getExtendedElementVectorType( in getExtendedElementVectorType()
90 VTy->getContext().getType(llvm::VectorType::getTruncatedElementVectorType( in getTruncatedElementVectorType()
96 VTy->getContext().getType(llvm::VectorType::getSubdividedVectorType( in getSubdividedVectorType()
101 VTy->getContext().getType(llvm::VectorType::getHalfElementsVectorType( in getHalfElementsVectorType()
106 VTy->getContext().getType(llvm::VectorType::getDoubleElementsVectorType( in getDoubleElementsVectorType()
114 return cast<FixedVectorType>(ElementType->getContext().getType( in get()
120 return cast<ScalableVectorType>(ElementType->getContext().getType( in get()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp317 AL = AL.addParamAttributes(Parent->getContext(), getArgNo(), B); in addAttrs()
335 AL = AL.removeParamAttributes(Parent->getContext(), getArgNo(), AM); in removeAttrs()
359 LLVMContext &Function::getContext() const { in getContext() function in Function
360 return getType()->getContext(); in getContext()
385 AttrBuilder B(F->getContext()); in createWithDefaultAttr()
405 StringRef DefaultCPU = F->getContext().getDefaultTargetCPU(); in createWithDefaultAttr()
408 StringRef DefaultFeatures = F->getContext().getDefaultTargetFeatures(); in createWithDefaultAttr()
491 if (!getContext().shouldDiscardValueNames()) in Function()
513 setAttributes(Intrinsic::getAttributes(getContext(), IntID, Ty)); in Function()
621 auto *CPN = ConstantPointerNull::get(PointerType::get(getContext(), 0)); in deleteBodyImpl()
[all …]
H A DMetadata.cpp66 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue()
119 LLVMContext &Context = getContext(); in handleChangedMetadata()
336 LLVMContext &Context = C.getType()->getContext(); in SalvageDebugInfo()
505 auto &Context = V->getContext(); in get()
523 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists()
529 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion()
549 assert(&From->getContext() == &To->getContext() && "Expected same context"); in handleRAUW()
551 LLVMContext &Context = From->getType()->getContext(); in handleRAUW()
1013 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \ in uniquify()
1025 getContext().pImpl->CLASS##s.erase(cast<CLASS>(this)); \ in eraseFromStore()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp303 MMI->getContext().getOrCreateSymbol(StringRef("__tmp_reg__")), in emitStartOfAsmFile()
304 MCConstantExpr::create(SubTM->getRegTmpIndex(), MMI->getContext())); in emitStartOfAsmFile()
307 MMI->getContext().getOrCreateSymbol(StringRef("__zero_reg__")), in emitStartOfAsmFile()
308 MCConstantExpr::create(SubTM->getRegZeroIndex(), MMI->getContext())); in emitStartOfAsmFile()
311 MMI->getContext().getOrCreateSymbol(StringRef("__SREG__")), in emitStartOfAsmFile()
312 MCConstantExpr::create(SubTM->getIORegSREG(), MMI->getContext())); in emitStartOfAsmFile()
316 MMI->getContext().getOrCreateSymbol(StringRef("__SP_H__")), in emitStartOfAsmFile()
317 MCConstantExpr::create(SubTM->getIORegSPH(), MMI->getContext())); in emitStartOfAsmFile()
320 MMI->getContext().getOrCreateSymbol(StringRef("__SP_L__")), in emitStartOfAsmFile()
321 MCConstantExpr::create(SubTM->getIORegSPL(), MMI->getContext())); in emitStartOfAsmFile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp24 StatTy = ArrayType::get(PointerType::getUnqual(M->getContext()), 2); in SanitizerStatReport()
36 return StructType::get(M->getContext(), in makeModuleStatsTy()
37 {PointerType::getUnqual(M->getContext()), in makeModuleStatsTy()
38 Type::getInt32Ty(M->getContext()), in makeModuleStatsTy()
76 PointerType *Int8PtrTy = PointerType::getUnqual(M->getContext()); in finish()
77 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); in finish()
78 Type *VoidTy = Type::getVoidTy(M->getContext()); in finish()
94 auto BB = BasicBlock::Create(M->getContext(), "", F); in finish()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCELFStreamer.cpp70 const SourceMgr *SourceManager = getContext().getSourceManager(); in emitPrefixedInstruction()
145 getContext().getOrCreateSymbol(SymExpr->getSymbol().getName()); in emitGOTToPCRelReloc()
146 const MCExpr *LabelExpr = MCSymbolRefExpr::create(LabelSym, getContext()); in emitGOTToPCRelReloc()
147 const MCExpr *Eight = MCConstantExpr::create(8, getContext()); in emitGOTToPCRelReloc()
150 MCBinaryExpr::createSub(LabelExpr, Eight, getContext()); in emitGOTToPCRelReloc()
151 MCSymbol *CurrentLocation = getContext().createTempSymbol(); in emitGOTToPCRelReloc()
153 MCSymbolRefExpr::create(CurrentLocation, getContext()); in emitGOTToPCRelReloc()
156 MCBinaryExpr::createSub(CurrentLocationExpr, SubExpr, getContext()); in emitGOTToPCRelReloc()
178 getContext().getOrCreateSymbol(SymExpr->getSymbol().getName()); in emitGOTToPCRelLabel()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfLowering.cpp111 F.getContext().emitError("[ctxprof] The function " + F.getName() + in emitUnsupportedRootError()
123 auto *PointerTy = PointerType::get(M.getContext(), 0); in CtxInstrumentationLowerer()
124 auto *SanitizerMutexType = Type::getInt8Ty(M.getContext()); in CtxInstrumentationLowerer()
125 auto *I32Ty = Type::getInt32Ty(M.getContext()); in CtxInstrumentationLowerer()
126 auto *I64Ty = Type::getInt64Ty(M.getContext()); in CtxInstrumentationLowerer()
134 M.getContext(), {CTXPROF_FUNCTION_DATA(_PTRDECL, _CONTEXT_ROOT, in CtxInstrumentationLowerer()
157 ContextNodeTy = StructType::get(M.getContext(), { in CtxInstrumentationLowerer()
201 FunctionType::get(Type::getVoidTy(M.getContext()), in CtxInstrumentationLowerer()
269 F.getContext().emitError( in lowerFunction()
289 F.getContext(), in lowerFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp308 auto &C = getContext(); in emitModuleMetadata()
371 auto &C = getContext(); in emitLinkerDirectives()
394 return getContext().getOrCreateSymbol(StringRef("DW.ref.") + in getCFIPersonalitySymbol()
407 cast<MCSymbolELF>(getContext().getOrCreateSymbol(NameData)); in emitPersonalityValue()
411 MCSection *Sec = getContext().getELFNamedSection(".data", Label->getName(), in emitPersonalityValue()
417 const MCExpr *E = MCConstantExpr::create(Size, getContext()); in emitPersonalityValue()
447 getTTypeReference(MCSymbolRefExpr::create(SSym, getContext()), in getTTypeGlobalReference()
856 GO->getContext().diagnose(LoweringDiagnosticInfo( in selectExplicitSectionGlobal()
871 return selectExplicitSectionGlobal(GO, Kind, TM, getContext(), getMangler(), in getExplicitSectionGlobal()
950 return selectELFSectionForGlobal(getContext(), GO, Kind, getMangler(), TM, in SelectSectionForGlobal()
[all …]

12345678910>>...45