/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetObjectFile.cpp | 27 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); 28 const MCExpr *Four = MCConstantExpr::create(4, getContext()); 29 return MCBinaryExpr::createAdd(Res, Four, getContext()); 50 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); 51 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); 52 return MCBinaryExpr::createAdd(Res, Off, getContext()); 57 return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext()); 65 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); 66 const MCExpr *Off = MCConstantExpr::create(FinalOffset, getContext()); 67 return MCBinaryExpr::createAdd(Res, Off, getContext()); [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMCObjectFileInfo.cpp | 28 return getTextSectionAlignment(*getContext().getSubtargetInfo());
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetObjectFile.cpp | 33 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); 34 const MCExpr *Off = MCConstantExpr::create(FinalOffset, getContext()); 35 return MCBinaryExpr::createAdd(Res, Off, getContext()); 52 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); 53 MCSymbol *PCSym = getContext().createTempSymbol(); 55 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); 56 return MCBinaryExpr::createSub(Res, PC, getContext()); 77 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); 78 MCSymbol *PCSym = getContext().createTempSymbol(); 80 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); [all...] |
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ABIInfo.cpp | 20 ASTContext &ABIInfo::getContext() const { return CGT.getContext(); } function in class:ABIInfo 58 return getContext().getLangOpts().CPlusPlus; 63 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { 85 if (isEmptyRecord(getContext(), I.getType(), true)) 100 getContext().getAsConstantArrayType(FT)) { 105 if (isEmptyRecord(getContext(), FT, true)) 109 FD->isZeroLengthBitField(getContext())) 124 if (getContext().getTypeSize(Base) * Members != 125 getContext() [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetObjectFile.cpp | 54 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPREL, getContext()); 56 MCConstantExpr::create(0x8000, getContext()), 57 getContext());
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kTargetObjectFile.cpp | 43 SmallDataSection = getContext().getELFSection( 46 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SanitizerStats.cpp | 24 StatTy = ArrayType::get(PointerType::getUnqual(M->getContext()), 2); 36 return StructType::get(M->getContext(), 37 {PointerType::getUnqual(M->getContext()), 38 Type::getInt32Ty(M->getContext()), 76 PointerType *Int8PtrTy = PointerType::getUnqual(M->getContext()); 77 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); 78 Type *VoidTy = Type::getVoidTy(M->getContext()); 94 auto BB = BasicBlock::Create(M->getContext(), "", F);
|
H A D | UnifyFunctionExitNodes.cpp | 35 BasicBlock::Create(F.getContext(), "UnifiedUnreachableBlock", &F); 36 new UnreachableInst(F.getContext(), UnreachableBlock); 59 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), 64 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); 70 ReturnInst::Create(F.getContext(), PN, NewRetBlock);
|
/freebsd-current/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | MCAsmParserExtension.cpp | 54 MCSymbol *FromSym = getContext().getOrCreateSymbol(From); 55 MCSymbol *ToSym = getContext().getOrCreateSymbol(To); 58 MCSymbolRefExpr::create(FromSym, MCSymbolRefExpr::VK_None, getContext(), 60 MCSymbolRefExpr::create(ToSym, MCSymbolRefExpr::VK_None, getContext(),
|
/freebsd-current/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCWinCOFFStreamer.cpp | 72 switchSection(getContext().getObjectFileInfo()->getTextSection()); 75 switchSection(getContext().getObjectFileInfo()->getDataSection()); 78 switchSection(getContext().getObjectFileInfo()->getBSSSection()); 81 switchSection(getContext().getObjectFileInfo()->getTextSection()); 188 if (getContext().getTargetTriple().getArch() != Triple::x86) 195 MCSection *SXData = getContext().getObjectFileInfo()->getSXDataSection(); 223 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext()); 234 const MCExpr *MCE = MCSymbolRefExpr::create(Symbol, getContext()); 238 MCE, MCConstantExpr::create(Offset, getContext()), getContext()); [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetObjectFile.cpp | 21 *getContext().getSubtargetInfo()); 31 SmallDataSection = getContext().getELFSection( 33 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, 42 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); 43 const MCExpr *Off = MCConstantExpr::create(FinalOffset, getContext()); 44 return MCBinaryExpr::createAdd(Res, Off, getContext());
|
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | LoongArch.cpp | 75 getContext().getTypeSize(RetTy) > (2 * GRLen)) { 78 IsRetIndirect = getContext().getTypeSize(EltTy) > FRLen; 110 uint64_t Size = getContext().getTypeSize(Ty); 139 if (getContext().getTypeSize(EltTy) > FRLen) 144 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); 148 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { 155 isEmptyRecord(getContext(), EltTy, true, true)) 158 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); 174 if (isEmptyRecord(getContext(), Ty, true, true) && 180 const ASTRecordLayout &Layout = getContext() [all...] |
H A D | WebAssembly.cpp | 63 llvm::AttrBuilder B(GV->getContext()); 69 llvm::AttrBuilder B(GV->getContext()); 75 llvm::AttrBuilder B(GV->getContext()); 108 if (isEmptyRecord(getContext(), Ty, true)) 113 if (const Type *SeltTy = isSingleElementStruct(Ty, getContext())) 141 if (isEmptyRecord(getContext(), RetTy, true)) 146 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) 161 !isEmptyRecord(getContext(), Ty, true) && 162 !isSingleElementStruct(Ty, getContext()); 164 getContext() [all...] |
H A D | RISCV.cpp | 81 getContext().getTypeSize(RetTy) > (2 * XLen)) { 84 IsRetIndirect = getContext().getTypeSize(EltTy) > FLen; 117 uint64_t Size = getContext().getTypeSize(Ty); 145 if (getContext().getTypeSize(EltTy) > FLen) 150 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); 154 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { 161 isEmptyRecord(getContext(), EltTy, true, true)) 164 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); 180 if (isEmptyRecord(getContext(), Ty, true, true)) 186 const ASTRecordLayout &Layout = getContext() [all...] |
H A D | ARC.cpp | 36 unsigned sz = (getContext().getTypeSize(Ty) + 31) / 32; 79 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; 87 getContext().getTypeInfoInChars(Ty), 108 auto SizeInRegs = llvm::alignTo(getContext().getTypeSize(Ty), 32) / 32; 116 if (isEmptyRecord(getContext(), Ty, true)) 146 auto RetSize = llvm::alignTo(getContext().getTypeSize(RetTy), 32) / 32;
|
H A D | CSKY.cpp | 65 if (isEmptyRecord(getContext(), Ty, true)) { 70 auto TInfo = getContext().getTypeInfoInChars(Ty); 92 if (isEmptyRecord(getContext(), Ty, true)) 96 if (const Type *SeltTy = isSingleElementStruct(Ty, getContext())) 99 uint64_t Size = getContext().getTypeSize(Ty); 111 if (getContext().getTypeSize(EltTy) <= FLen) {
|
/freebsd-current/contrib/llvm-project/llvm/lib/IR/ |
H A D | TypedPointerType.cpp | 21 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; 33 : Type(E->getContext(), TypedPointerTyID), PointeeTy(E) {
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMachineModuleInfo.cpp | 22 LLVMContext &CTX = MMI.getModule()->getContext();
|
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugInfoEntry.cpp | 28 U.getContext().getWarningHandler()( 45 U.getContext().getWarningHandler()( 56 U.getContext().getWarningHandler()( 85 U.getContext().getWarningHandler()(createStringError(
|
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | OptimizationRemarkEmitter.cpp | 29 if (!F->getContext().getDiagnosticsHotnessRequested()) 86 F->getContext().getDiagnosticsHotnessThreshold()) { 90 F->getContext().diagnose(OptDiag); 102 auto &Context = Fn.getContext(); 132 auto &Context = F.getContext();
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineOptimizationRemarkEmitter.h | 78 LLVMContext &Ctx = Fn.getContext(); 104 LLVMContext &Ctx = Fn.getContext(); 136 LLVMContext &Ctx = Fn.getContext(); 170 MF.getFunction().getContext().getLLVMRemarkStreamer() || 171 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled( 183 if (MF.getFunction().getContext().getLLVMRemarkStreamer() || 185 .getContext()
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MachObjectWriter.cpp | 102 Asm.getContext().reportError(Fixup.getLoc(), 180 Asm.getContext().reportError(Fixup.getLoc(), 191 Asm.getContext().reportError(Fixup.getLoc(), 198 Asm.getContext().reportError(Fixup.getLoc(), "unknown AArch64 fixup kind!"); 210 Asm.getContext().reportError(Fixup.getLoc(), 242 Asm.getContext().reportError(Fixup.getLoc(), 249 Asm.getContext().reportError(Fixup.getLoc(), 262 Asm.getContext().reportError( 269 Asm.getContext().reportError( 277 Asm.getContext() [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRAsmPrinter.cpp | 293 MMI->getContext().getOrCreateSymbol(StringRef("__tmp_reg__")), 294 MCConstantExpr::create(SubTM->getRegTmpIndex(), MMI->getContext())); 297 MMI->getContext().getOrCreateSymbol(StringRef("__zero_reg__")), 298 MCConstantExpr::create(SubTM->getRegZeroIndex(), MMI->getContext())); 301 MMI->getContext().getOrCreateSymbol(StringRef("__SREG__")), 302 MCConstantExpr::create(SubTM->getIORegSREG(), MMI->getContext())); 306 MMI->getContext().getOrCreateSymbol(StringRef("__SP_H__")), 307 MCConstantExpr::create(SubTM->getIORegSPH(), MMI->getContext())); 310 MMI->getContext().getOrCreateSymbol(StringRef("__SP_L__")), 311 MCConstantExpr::create(SubTM->getIORegSPL(), MMI->getContext())); [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsTargetObjectFile.cpp | 48 SmallDataSection = getContext().getELFSection( 52 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, 191 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext()); 193 Expr, MCConstantExpr::create(0x8000, getContext()), getContext()); 194 return MipsMCExpr::create(MipsMCExpr::MEK_DTPREL, Expr, getContext());
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXImageOptimizer.cpp | 96 replaceWith(&I, ConstantInt::getTrue(I.getContext())); 100 replaceWith(&I, ConstantInt::getFalse(I.getContext())); 113 replaceWith(&I, ConstantInt::getTrue(I.getContext())); 119 replaceWith(&I, ConstantInt::getFalse(I.getContext())); 131 replaceWith(&I, ConstantInt::getTrue(I.getContext())); 138 replaceWith(&I, ConstantInt::getFalse(I.getContext()));
|