Home
last modified time | relevance | path

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

12345678910>>...27

/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCWinCOFFStreamer.cpp74 SwitchSection(getContext().getObjectFileInfo()->getTextSection()); in InitSections()
77 SwitchSection(getContext().getObjectFileInfo()->getDataSection()); in InitSections()
80 SwitchSection(getContext().getObjectFileInfo()->getBSSSection()); in InitSections()
83 SwitchSection(getContext().getObjectFileInfo()->getTextSection()); in InitSections()
173 if (getContext().getObjectFileInfo()->getTargetTriple().getArch() != in EmitCOFFSafeSEH()
222 const MCExpr *MCE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSecRel32()
226 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFSecRel32()
241 Symbol, MCSymbolRefExpr::VK_COFF_IMGREL32, getContext()); in EmitCOFFImgRel32()
245 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); in EmitCOFFImgRel32()
274 const MCObjectFileInfo *MFI = getContext().getObjectFileInfo(); in EmitCommonSymbol()
[all …]
H A DMCStreamer.cpp299 getContext().reportError( in checkCVLocSection()
308 getContext().reportError( in checkCVLocSection()
371 return getContext().reportError( in EmitCFIStartProc()
606 getContext().reportError( in EnsureValidWinFrameInfo()
611 getContext().reportError( in EnsureValidWinFrameInfo()
621 return getContext().reportError( in EmitWinCFIStartProc()
624 getContext().reportError( in EmitWinCFIStartProc()
675 return getContext().reportError( in EmitWinCFIEndChained()
690 return getContext().reportError( in EmitWinEHHandler()
779 return getContext().reportError( in EmitWinCFISetFrame()
[all …]
H A DMCObjectStreamer.cpp203 getContext().reportError( in EmitValueImpl()
224 Frame.Begin = getContext().createTempSymbol(); in EmitCFIStartProcImpl()
229 Frame.End = getContext().createTempSymbol(); in EmitCFIEndProcImpl()
293 getContext().clearDwarfLocSeen(); in changeSectionImpl()
410 MCContext &Context = OS.getContext(); in buildSymbolDiff()
474 getContext().getCVContext().recordCVLoc(getContext(), LineSym, FunctionId, in EmitCVLocDirective()
509 getContext().getCVContext().emitStringTable(*this); in EmitCVStringTableDirective()
639 MCSymbolRefExpr::create(getContext().createTempSymbol(), getContext()); in EmitRelocDirective()
682 getContext().getSourceManager()->PrintMessage( in emitFill()
720 getContext().RemapDebugPaths(); in FinishImpl()
[all …]
H A DMCDwarf.cpp89 if (!MCOS->getContext().getDwarfLocSeen()) in Make()
104 MCOS->getContext().clearDwarfLocSeen(); in Make()
107 MCOS->getContext() in Make()
222 MCContext &Ctx = MCOS->getContext(); in EmitDwarfLineTable()
235 MCContext &context = MCOS->getContext(); in Emit()
296 MCContext &Context = OS.getContext(); in forceExpAbs()
327 MCContext &Ctx = MCOS->getContext(); in emitRef()
448 MCContext &context = MCOS->getContext(); in Emit()
635 MCContext &Context = MCOS->getContext(); in Emit()
791 MCContext &context = MCOS->getContext(); in EmitGenDwarfAbbrev()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp45 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); in getTTypeGlobalReference()
46 MCSymbol *PCSym = getContext().createTempSymbol(); in getTTypeGlobalReference()
48 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference()
49 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference()
70 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); in getIndirectSymViaGOTPCRel()
71 MCSymbol *PCSym = getContext().createTempSymbol(); in getIndirectSymViaGOTPCRel()
73 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getIndirectSymViaGOTPCRel()
74 return MCBinaryExpr::createSub(Res, PC, getContext()); in getIndirectSymViaGOTPCRel()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp35 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getTTypeGlobalReference()
36 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference()
37 return MCBinaryExpr::createAdd(Res, Four, getContext()); in getTTypeGlobalReference()
58 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel()
59 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel()
60 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel()
65 return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext()); in getDebugThreadLocalSymbol()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp26 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport()
38 return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()), in makeModuleStatsTy()
39 Type::getInt32Ty(M->getContext()), in makeModuleStatsTy()
78 PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); in finish()
79 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); in finish()
80 Type *VoidTy = Type::getVoidTy(M->getContext()); in finish()
97 auto BB = BasicBlock::Create(M->getContext(), "", F); in finish()
H A DUnifyFunctionExitNodes.cpp64 UnreachableBlock = BasicBlock::Create(F.getContext(), in runOnFunction()
66 new UnreachableInst(F.getContext(), UnreachableBlock); in runOnFunction()
87 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), in runOnFunction()
92 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); in runOnFunction()
98 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp127 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), Name, &F); in unifyReturnBlockSet()
131 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); in unifyReturnBlockSet()
137 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in unifyReturnBlockSet()
185 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in runOnFunction()
187 DummyReturnBB = BasicBlock::Create(F.getContext(), in runOnFunction()
191 ReturnInst::Create(F.getContext(), RetVal, DummyReturnBB); in runOnFunction()
202 BasicBlock *TransitionBB = BasicBlock::Create(F.getContext(), in runOnFunction()
221 UnreachableBlock = BasicBlock::Create(F.getContext(), in runOnFunction()
223 new UnreachableInst(F.getContext(), UnreachableBlock); in runOnFunction()
251 ReturnInst::Create(F.getContext(), RetVal, UnreachableBlock); in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp103 Asm.getContext().reportError(Fixup.getLoc(), in getAArch64FixupKindMachOInfo()
183 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
194 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
213 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
245 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
252 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
265 Asm.getContext().reportError( in recordRelocation()
272 Asm.getContext().reportError( in recordRelocation()
280 Asm.getContext().reportError( in recordRelocation()
312 Asm.getContext().reportError( in recordRelocation()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DMetadata.cpp122 LLVMContext &Context = getContext(); in handleChangedMetadata()
352 auto &Context = V->getContext(); in get()
398 LLVMContext &Context = From->getType()->getContext(); in handleRAUW()
1047 return MDNode::get(A->getContext(), MDs); in getMostGenericRange()
1192 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata()
1391 getMetadata(getContext().getMDKindID(Kind), MDs); in getMetadata()
1402 addMetadata(getContext().getMDKindID(Kind), MD); in addMetadata()
1441 setMetadata(getContext().getMDKindID(Kind), N); in setMetadata()
1451 return getMetadata(getContext().getMDKindID(Kind)); in getMetadata()
1488 E = DIExpression::get(getContext(), Elements); in copyMetadata()
[all …]
H A DConstants.cpp270 return ConstantFP::get(Ty->getContext(), in getNullValue()
273 return ConstantFP::get(Ty->getContext(), in getNullValue()
276 return ConstantFP::get(Ty->getContext(), in getNullValue()
279 return ConstantFP::get(Ty->getContext(), in getNullValue()
686 LLVMContext &Context = Ty->getContext(); in get()
714 LLVMContext &Context = Ty->getContext(); in get()
2483 *Ty->getContext() in getImpl()
2644 return get(V->getContext(), Elts); in getSplat()
2648 return get(V->getContext(), Elts); in getSplat()
2652 return get(V->getContext(), Elts); in getSplat()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp39 uint32_t AddrSpc = CGM.getContext().getTargetAddressSpace( in convertOpenCLSpecificType()
40 CGM.getContext().getOpenCLTypeAddrSpace(T)); in convertOpenCLSpecificType()
85 CGM.getContext().getTargetAddressSpace( in getPipeType()
86 CGM.getContext().getOpenCLTypeAddrSpace(T))); in getPipeType()
94 CGM.getContext().getTargetAddressSpace( in getSamplerType()
95 CGM.getContext().getOpenCLTypeAddrSpace(T))); in getSamplerType()
103 unsigned TypeSize = CGM.getContext() in getPipeElemSize()
113 unsigned TypeSize = CGM.getContext() in getPipeElemAlign()
123 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic)); in getGenericVoidPointerType()
H A DTargetInfo.cpp190 ASTContext &ABIInfo::getContext() const { in getContext() function in ABIInfo
191 return CGT.getContext(); in getContext()
1616 if (getContext().getTypeSize(Ty) > 32) in shouldPrimitiveUseInReg()
3602 getContext().LongDoubleTy) in computeInfo()
3694 Ty = getContext().getCanonicalType(Ty); in EmitVAArg()
4626 getContext().getTypeSize(Ty)) in isHomogeneousAggregate()
4650 getContext().getTypeSize(VT) / getContext().getTypeSize(EltTy); in isHomogeneousAggregate()
4651 Base = getContext() in isHomogeneousAggregate()
4658 getContext().getTypeSize(Base) != getContext().getTypeSize(TyPtr)) in isHomogeneousAggregate()
6566 Ty = getContext().getCanonicalType(Ty); in EmitVAArg()
[all …]
H A DCGObjC.cpp115 ASTContext &Context = CGM.getContext(); in EmitObjCCollectionLiteral()
667 ASTContext &Context = CGF.getContext(); in emitStructGetterCall()
1051 getContext().BoolTy); in generateObjCGetterBody()
1351 getContext().BoolTy); in generateObjCSetterBody()
1353 getContext().BoolTy); in generateObjCSetterBody()
1548 DeclRefExpr DRE(getContext(), Self, in LoadObjCSelf()
1596 &CGM.getContext().Idents.get("objects"), in EmitObjCForCollectionStmt()
1597 &CGM.getContext().Idents.get("count") in EmitObjCForCollectionStmt()
1603 getContext().getConstantArrayType(getContext().getObjCIdType(), in EmitObjCForCollectionStmt()
3420 ASTContext &C = getContext(); in GenerateObjCAtomicSetterCopyHelperFunction()
[all …]
H A DCGObjCRuntime.cpp34 return CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar) / in ComputeIvarBaseOffset()
35 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset()
41 return CGM.getContext().lookupFieldBitOffset(OID->getClassInterface(), OID, in ComputeIvarBaseOffset()
43 CGM.getContext().getCharWidth(); in ComputeIvarBaseOffset()
50 return CGM.getContext().lookupFieldBitOffset(ID, ID->getImplementation(), in ComputeBitfieldBitOffset()
63 CGF.CGM.getContext().getObjCObjectPointerType(InterfaceTy); in EmitValueForIvarAtOffset()
91 CGF.CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar); in EmitValueForIvarAtOffset()
94 uint64_t BitFieldSize = Ivar->getBitWidthValue(CGF.getContext()); in EmitValueForIvarAtOffset()
95 CharUnits StorageSize = CGF.CGM.getContext().toCharUnitsFromBits( in EmitValueForIvarAtOffset()
105 CGBitFieldInfo *Info = new (CGF.CGM.getContext()) CGBitFieldInfo( in EmitValueForIvarAtOffset()
[all …]
H A DCGDebugInfo.cpp659 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType()
999 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in getOrCreateStructPtrType()
1021 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in collectDefaultElementTypesForBlockPointer()
1028 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in collectDefaultElementTypesForBlockPointer()
1893 CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo()
1919 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CollectVTableInfo()
3668 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
3671 FType = CGM.getContext().IntTy; in EmitTypeForVarWithBlocksAttr()
3677 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
3688 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFTargetStreamer.cpp83 MCContext &getContext() { return getStreamer().getContext(); } in getContext() function in __anonb16d4bc10111::X86WinCOFFTargetStreamer
103 ProcSym->print(OS, getStreamer().getContext().getAsmInfo()); in emitFPOProc()
121 ProcSym->print(OS, getStreamer().getContext().getAsmInfo()); in emitFPOData()
153 getContext().reportError( in checkInFPOPrologue()
162 MCSymbol *Label = getContext().createTempSymbol("cfi", true); in emitFPOLabel()
170 getContext().reportError( in emitFPOProc()
189 getContext().reportError(L, "missing .cv_fpo_endprologue"); in emitFPOEndProc()
243 getContext().reportError( in emitFPOStackAlign()
321 const MCRegisterInfo *MRI = OS.getContext().getRegisterInfo(); in emitFrameDataRecord()
357 CodeViewContext &CVCtx = OS.getContext().getCVContext(); in emitFrameDataRecord()
[all …]
H A DX86MachObjectWriter.cpp158 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
166 Asm.getContext().reportError( in RecordX86_64Relocation()
182 Asm.getContext().reportError( in RecordX86_64Relocation()
267 Asm.getContext().reportError( in RecordX86_64Relocation()
287 Asm.getContext().reportError( in RecordX86_64Relocation()
315 Asm.getContext().reportError( in RecordX86_64Relocation()
334 Asm.getContext().reportError( in RecordX86_64Relocation()
338 Asm.getContext().reportError( in RecordX86_64Relocation()
345 Asm.getContext().reportError( in RecordX86_64Relocation()
382 Asm.getContext().reportError( in recordScatteredRelocation()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineOptimizationRemarkEmitter.h77 LLVMContext &Ctx = Fn.getContext(); in isEnabled()
103 LLVMContext &Ctx = Fn.getContext(); in isEnabled()
129 LLVMContext &Ctx = Fn.getContext(); in isEnabled()
162 return (MF.getFunction().getContext().getDiagnosticsOutputFile() || in allowExtraAnalysis()
163 MF.getFunction().getContext() in allowExtraAnalysis()
175 if (MF.getFunction().getContext().getDiagnosticsOutputFile() ||
176 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled()) {
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp97 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-12.1/contrib/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp257 auto &C = getContext(); in emitModuleMetadata()
794 getContext()), in lowerRelativeReference()
795 MCSymbolRefExpr::create(TM.getSymbol(RHS), getContext()), getContext()); in lowerRelativeReference()
809 MCContext &Ctx = getContext(); in InitializeELF()
895 Streamer.EmitLabel(getContext(). in emitModuleMetadata()
1129 MCContext &Ctx = getContext(); in getIndirectSymViaGOTPCRel()
1415 return getContext().getCOFFSection( in getSectionForJumpTable()
1446 auto &C = getContext(); in emitModuleMetadata()
1573 getContext()); in lowerRelativeReference()
1772 getContext()), in lowerRelativeReference()
[all …]
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DOptimizationRemarkEmitter.cpp27 if (!F->getContext().getDiagnosticsHotnessRequested()) in OptimizationRemarkEmitter()
80 F->getContext().getDiagnosticsHotnessThreshold()) { in emit()
84 F->getContext().diagnose(OptDiag); in emit()
96 if (Fn.getContext().getDiagnosticsHotnessRequested()) in runOnFunction()
118 if (F.getContext().getDiagnosticsHotnessRequested()) in run()
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp186 MCSymbol *Sym = getContext().getOrCreateSymbol(Name); in ParseDirectiveSymbolAttribute()
638 if (getContext().getGenDwarfForAssembly()) { in ParseSectionArguments()
639 bool InsertResult = getContext().addGenDwarfSection(ELFSection); in ParseSectionArguments()
641 if (getContext().getDwarfVersion() <= 2) in ParseSectionArguments()
645 MCSymbol *SectionStartSymbol = getContext().createTempSymbol(); in ParseSectionArguments()
689 MCSymbol *Sym = getContext().getOrCreateSymbol(Name); in ParseDirectiveType()
778 MCSymbol *Sym = getContext().getOrCreateSymbol(Name); in ParseDirectiveSymver()
825 MCSymbol *Alias = getContext().getOrCreateSymbol(AliasName); in ParseDirectiveWeakref()
827 MCSymbol *Sym = getContext().getOrCreateSymbol(Name); in ParseDirectiveWeakref()
878 MCSymbol *FromSym = getContext().getOrCreateSymbol(From); in ParseDirectiveCGProfile()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp50 SmallDataSection = getContext().getELFSection( in Initialize()
54 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
192 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext()); in getDebugThreadLocalSymbol()
194 Expr, MCConstantExpr::create(0x8000, getContext()), getContext()); in getDebugThreadLocalSymbol()
195 return MipsMCExpr::create(MipsMCExpr::MEK_DTPREL, Expr, getContext()); in getDebugThreadLocalSymbol()

12345678910>>...27