/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ABIInfo.cpp | 20 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() 109 FD->isZeroLengthBitField(getContext())) 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetObjectFile.cpp | 37 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel() 38 const MCExpr *Off = MCConstantExpr::create(FinalOffset, getContext()); in getIndirectSymViaGOTPCRel() 39 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel() 56 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); in getTTypeGlobalReference() 57 MCSymbol *PCSym = getContext().createTempSymbol(); in getTTypeGlobalReference() 59 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference() 60 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference() 81 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); in getIndirectSymViaGOTPCRel() 82 MCSymbol *PCSym = getContext().createTempSymbol(); in getIndirectSymViaGOTPCRel() 84 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getIndirectSymViaGOTPCRel() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCWinCOFFStreamer.cpp | 82 switchSection(getContext().getObjectFileInfo()->getTextSection()); in initSections() 85 switchSection(getContext().getObjectFileInfo()->getDataSection()); in initSections() 88 switchSection(getContext().getObjectFileInfo()->getBSSSection()); in initSections() 91 switchSection(getContext().getObjectFileInfo()->getTextSection()); in initSections() 207 if (getContext().getTargetTriple().getArch() != Triple::x86) in emitCOFFSafeSEH() 214 MCSection *SXData = getContext().getObjectFileInfo()->getSXDataSection(); in emitCOFFSafeSEH() 218 insert(getContext().allocFragment<MCSymbolIdFragment>(Symbol)); in emitCOFFSafeSEH() 232 insert(getContext().allocFragment<MCSymbolIdFragment>(Symbol)); in emitCOFFSymbolIndex() 239 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext()); in emitCOFFSectionIndex() 250 const MCExpr *MCE = MCSymbolRefExpr::create(Symbol, getContext()); in emitCOFFSecRel32() [all …]
|
H A D | MCObjectStreamer.cpp | 59 getContext().reportError(PendingFixup.Fixup.getLoc(), in resolvePendingFixups() 107 if (!getAssembler().getContext().getTargetTriple().isRISCV()) in emitAbsoluteSymbolDiff() 115 if (!getAssembler().getContext().getTargetTriple().isRISCV()) in emitAbsoluteSymbolDiffAsULEB128() 126 if (getContext().getTargetOptions()) in reset() 127 Assembler->setRelaxAll(getContext().getTargetOptions()->MCRelaxAll); in reset() 168 F = getContext().allocFragment<MCDataFragment>(); in getOrCreateDataFragment() 195 getContext().reportError( in emitValueImpl() 209 MCSymbol *Label = getContext().createTempSymbol("cfi"); in emitCFILabel() 216 Frame.Begin = getContext().createTempSymbol(); in emitCFIStartProcImpl() 221 Frame.End = getContext().createTempSymbol(); in emitCFIEndProcImpl() [all …]
|
H A D | MCStreamer.cpp | 62 Section->printSwitchToSection(*Streamer.getContext().getAsmInfo(), in changeSection() 63 Streamer.getContext().getTargetTriple(), OS, in changeSection() 75 Value->print(OS, Streamer.getContext().getAsmInfo()); in emitValue() 80 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitRawBytes() 189 emitValueImpl(MCSymbolRefExpr::create(Sym, getContext()), Size); in emitSymbolValue() 222 emitFill(*MCConstantExpr::create(NumBytes, getContext()), FillValue); in emitFill() 235 return getContext().getDwarfFile(Directory, Filename, FileNo, Checksum, in tryEmitDwarfFileDirective() 244 getContext().setMCLineTableRootFile(CUID, Directory, Filename, Checksum, in emitDwarfFile0Directive() 266 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa, in emitDwarfLocDirective() 271 MCDwarfLineTable &Table = getContext().getMCDwarfLineTable(CUID); in getDwarfLineTableSymbol() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 38 return llvm::PointerType::get(Ty->getContext(), ToAS); in coerceKernelArgumentType() 62 uint32_t NumRegs = (getContext().getTypeSize(Base) + 31) / 32; in isHomogeneousAggregateSmallEnough() 76 unsigned EltSize = getContext().getTypeSize(EltTy); in numRegsForType() 98 return (getContext().getTypeSize(Ty) + 31) / 32; in numRegsForType() 126 getContext().getTypeInfoInChars(Ty), in EmitVAArg() 136 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType() 140 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType() 150 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 178 if (const Type *SeltTy = isSingleElementStruct(Ty, getContext())) in classifyKernelArgumentType() 183 if (getContext().getLangOpts().HIP) { in classifyKernelArgumentType() [all …]
|
H A D | LoongArch.cpp | 75 getContext().getTypeSize(RetTy) > (2 * GRLen)) { in computeInfo() 78 IsRetIndirect = getContext().getTypeSize(EltTy) > FRLen; in computeInfo() 110 uint64_t Size = getContext().getTypeSize(Ty); in detectFARsEligibleStructHelper() 139 if (getContext().getTypeSize(EltTy) > FRLen) in detectFARsEligibleStructHelper() 144 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper() 148 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { in detectFARsEligibleStructHelper() 155 isEmptyRecord(getContext(), EltTy, true, true)) in detectFARsEligibleStructHelper() 158 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper() 174 if (isEmptyRecord(getContext(), Ty, true, true) && in detectFARsEligibleStructHelper() 180 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD); in detectFARsEligibleStructHelper() [all …]
|
H A D | RISCV.cpp | 81 getContext().getTypeSize(RetTy) > (2 * XLen)) { in computeInfo() 84 IsRetIndirect = getContext().getTypeSize(EltTy) > FLen; in computeInfo() 117 uint64_t Size = getContext().getTypeSize(Ty); in detectFPCCEligibleStructHelper() 145 if (getContext().getTypeSize(EltTy) > FLen) in detectFPCCEligibleStructHelper() 150 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFPCCEligibleStructHelper() 154 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { in detectFPCCEligibleStructHelper() 161 isEmptyRecord(getContext(), EltTy, true, true)) in detectFPCCEligibleStructHelper() 164 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFPCCEligibleStructHelper() 180 if (isEmptyRecord(getContext(), Ty, true, true)) in detectFPCCEligibleStructHelper() 186 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD); in detectFPCCEligibleStructHelper() [all …]
|
H A D | WebAssembly.cpp | 63 llvm::AttrBuilder B(GV->getContext()); in setTargetAttributes() 69 llvm::AttrBuilder B(GV->getContext()); in setTargetAttributes() 75 llvm::AttrBuilder B(GV->getContext()); in setTargetAttributes() 108 if (isEmptyRecord(getContext(), Ty, true)) in classifyArgumentType() 113 if (const Type *SeltTy = isSingleElementStruct(Ty, getContext())) in classifyArgumentType() 141 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType() 146 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType() 161 !isEmptyRecord(getContext(), Ty, true) && in EmitVAArg() 162 !isSingleElementStruct(Ty, getContext()); in EmitVAArg() 164 getContext().getTypeInfoInChars(Ty), in EmitVAArg()
|
H A D | ARM.cpp | 199 llvm::AttrBuilder B(Fn->getContext()); in setTargetAttributes() 290 uint64_t Size = getContext().getTypeSize(Ty); in coerceIllegalVector() 312 uint64_t Size = getContext().getTypeSize(VT); in classifyHomogeneousAggregate() 324 Align = getContext().getTypeUnadjustedAlignInChars(Ty).getQuantity(); in classifyHomogeneousAggregate() 325 unsigned BaseAlign = getContext().getTypeAlignInChars(Base).getQuantity(); in classifyHomogeneousAggregate() 369 if (isEmptyRecord(getContext(), Ty, true)) in classifyArgumentType() 394 getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(16)) { in classifyArgumentType() 399 CharUnits::fromQuantity(getContext().getTypeAlign(Ty) / 8), false); in classifyArgumentType() 410 TyAlign = getContext().getTypeUnadjustedAlignInChars(Ty).getQuantity(); in classifyArgumentType() 413 TyAlign = getContext().getTypeAlignInChars(Ty).getQuantity(); in classifyArgumentType() [all …]
|
H A D | NVPTX.cpp | 107 ASTContext &Context = getContext(); in isUnsupportedType() 143 const uint64_t Size = getContext().getTypeSize(Ty); in coerceToIntArrayWithLimit() 144 const uint64_t Alignment = getContext().getTypeAlign(Ty); in coerceToIntArrayWithLimit() 155 if (getContext().getLangOpts().OpenMP && in classifyReturnType() 156 getContext().getLangOpts().OpenMPIsTargetDevice && in classifyReturnType() 181 if (getContext().getLangOpts().CUDAIsDevice) { in classifyArgumentType() 194 (!getContext().getTargetInfo().hasInt128Type() && in classifyArgumentType() 222 getContext().getTypeInfoInChars(Ty), in EmitVAArg() 282 llvm::LLVMContext &Ctx = M->getContext(); in addNVVMMetadata() 303 auto &Ctx = CGM.getContext(); in getNullPointer() [all …]
|
H A D | PPC.cpp | 160 if (getContext().isPromotableIntegerType(Ty)) in isPromotableTypeForABI() 214 CharUnits TyAlign = getContext().getTypeAlignInChars(Ty); in classifyArgumentType() 233 if (isRecordWithSIMDVectorType(getContext(), Ty)) in getParamTypeAlignment() 242 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() 378 return CharUnits::fromQuantity(getContext().getTypeSize(Ty) == 128 ? 16 in getParamTypeAlignment() 384 if (const Type *EltType = isSingleElementStruct(Ty, getContext())) { in getParamTypeAlignment() 386 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment() 401 (Size = getContext().getTypeSize(RetTy)) <= 64) { in classifyReturnType() 429 auto TI = getContext().getTypeInfoInChars(Ty); in EmitVAArg() 453 bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64; in EmitVAArg() [all …]
|
H A D | X86.cpp | 129 return isX86VectorTypeForVectorCall(getContext(), Ty); in isHomogeneousAggregateBaseType() 310 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType()); in addReturnRegisterOutputs() 458 if (!addBaseAndFieldSizes(getContext(), CXXRD, Size)) in canExpandIndirectArgument() 461 if (!addFieldSizes(getContext(), RD, Size)) in canExpandIndirectArgument() 466 return Size == getContext().getTypeSize(Ty); in canExpandIndirectArgument() 498 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 532 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType() 537 QualType ET = getContext().getCanonicalType(CT->getElementType()); in classifyReturnType() 545 if (shouldReturnTypeInRegister(RetTy, getContext())) { in classifyReturnType() 546 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetObjectFile.cpp | 22 *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() 53 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel() 54 const MCExpr *Off = MCConstantExpr::create(FinalOffset, getContext()); in getIndirectSymViaGOTPCRel() [all …]
|
/freebsd/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() 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/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRAsmPrinter.cpp | 294 MMI->getContext().getOrCreateSymbol(StringRef("__tmp_reg__")), in emitStartOfAsmFile() 295 MCConstantExpr::create(SubTM->getRegTmpIndex(), MMI->getContext())); in emitStartOfAsmFile() 298 MMI->getContext().getOrCreateSymbol(StringRef("__zero_reg__")), in emitStartOfAsmFile() 299 MCConstantExpr::create(SubTM->getRegZeroIndex(), MMI->getContext())); in emitStartOfAsmFile() 302 MMI->getContext().getOrCreateSymbol(StringRef("__SREG__")), in emitStartOfAsmFile() 303 MCConstantExpr::create(SubTM->getIORegSREG(), MMI->getContext())); in emitStartOfAsmFile() 307 MMI->getContext().getOrCreateSymbol(StringRef("__SP_H__")), in emitStartOfAsmFile() 308 MCConstantExpr::create(SubTM->getIORegSPH(), MMI->getContext())); in emitStartOfAsmFile() 311 MMI->getContext().getOrCreateSymbol(StringRef("__SP_L__")), in emitStartOfAsmFile() 312 MCConstantExpr::create(SubTM->getIORegSPL(), MMI->getContext())); in emitStartOfAsmFile() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SanitizerStats.cpp | 24 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 D | PPCELFStreamer.cpp | 72 const SourceMgr *SourceManager = getContext().getSourceManager(); in emitPrefixedInstruction() 147 getContext().getOrCreateSymbol(SymExpr->getSymbol().getName()); in emitGOTToPCRelReloc() 148 const MCExpr *LabelExpr = MCSymbolRefExpr::create(LabelSym, getContext()); in emitGOTToPCRelReloc() 149 const MCExpr *Eight = MCConstantExpr::create(8, getContext()); in emitGOTToPCRelReloc() 152 MCBinaryExpr::createSub(LabelExpr, Eight, getContext()); in emitGOTToPCRelReloc() 153 MCSymbol *CurrentLocation = getContext().createTempSymbol(); in emitGOTToPCRelReloc() 155 MCSymbolRefExpr::create(CurrentLocation, getContext()); in emitGOTToPCRelReloc() 158 MCBinaryExpr::createSub(CurrentLocationExpr, SubExpr, getContext()); in emitGOTToPCRelReloc() 182 getContext().getOrCreateSymbol(SymExpr->getSymbol().getName()); in emitGOTToPCRelLabel()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MachObjectWriter.cpp | 101 Asm.getContext().reportError(Fixup.getLoc(), in getAArch64FixupKindMachOInfo() 178 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 189 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 196 Asm.getContext().reportError(Fixup.getLoc(), "unknown AArch64 fixup kind!"); in recordRelocation() 208 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 240 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 247 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 260 Asm.getContext().reportError( in recordRelocation() 267 Asm.getContext().reportError( in recordRelocation() 275 Asm.getContext().reportError( in recordRelocation() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 307 auto &C = getContext(); in emitModuleMetadata() 408 return getContext().getOrCreateSymbol(StringRef("DW.ref.") + in getCFIPersonalitySymbol() 420 cast<MCSymbolELF>(getContext().getOrCreateSymbol(NameData)); in emitPersonalityValue() 424 MCSection *Sec = getContext().getELFNamedSection(".data", Label->getName(), in emitPersonalityValue() 430 const MCExpr *E = MCConstantExpr::create(Size, getContext()); in emitPersonalityValue() 454 getTTypeReference(MCSymbolRefExpr::create(SSym, getContext()), in getTTypeGlobalReference() 835 GO->getContext().diagnose(LoweringDiagnosticInfo( in selectExplicitSectionGlobal() 850 return selectExplicitSectionGlobal(GO, Kind, TM, getContext(), getMangler(), in getExplicitSectionGlobal() 928 return selectELFSectionForGlobal(getContext(), GO, Kind, getMangler(), TM, in SelectSectionForGlobal() 941 &F, Kind, TM, getContext(), getMangler(), NextUniqueID, in getUniqueSectionForFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Metadata.cpp | 66 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue() 119 LLVMContext &Context = getContext(); in handleChangedMetadata() 336 LLVMContext &Context = C.getType()->getContext(); in SalvageDebugInfo() 498 auto &Context = V->getContext(); in get() 516 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists() 522 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion() 542 assert(&From->getContext() == &To->getContext() && "Expected same context"); in handleRAUW() 544 LLVMContext &Context = From->getType()->getContext(); in handleRAUW() 1006 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \ in uniquify() 1018 getContext().pImpl->CLASS##s.erase(cast<CLASS>(this)); \ in eraseFromStore() [all …]
|
H A D | ConstantFold.cpp | 63 IntegerType *FakeIntPtrTy = Type::getInt64Ty(DstTy->getContext()); in foldConstantCastPair() 93 return ConstantFP::get(DestTy->getContext(), in FoldBitCast() 116 return ConstantInt::get(FP->getContext(), in FoldBitCast() 177 Type *Ty = IntegerType::get(V->getContext(), 32); in ConstantFoldCastInstruction() 202 return ConstantFP::get(V->getContext(), Val); in ConstantFoldCastInstruction() 218 return ConstantInt::get(FPC->getContext(), IntVal); in ConstantFoldCastInstruction() 229 return ConstantFP::get(V->getContext(), apf); in ConstantFoldCastInstruction() 235 return ConstantInt::get(V->getContext(), in ConstantFoldCastInstruction() 242 return ConstantInt::get(V->getContext(), in ConstantFoldCastInstruction() 252 return ConstantInt::get(V->getContext(), in ConstantFoldCastInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetObjectFile.cpp | 65 Sym, MCSymbolRefExpr::VK_ARM_GOT_PREL, getContext()); in getIndirectSymViaGOTPCRel() 66 const MCExpr *Off = MCConstantExpr::create(FinalOffset, getContext()); in getIndirectSymViaGOTPCRel() 67 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel() 73 getContext()); in getIndirectSymViaRWPI() 86 MCSymbolRefExpr::VK_ARM_TARGET2, getContext()); in getTTypeGlobalReference() 92 getContext()); in getDebugThreadLocalSymbol()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86WinCOFFTargetStreamer.cpp | 83 MCContext &getContext() { return getStreamer().getContext(); } in getContext() function in __anone4092d9c0111::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() 183 getContext().reportError(L, ".cv_fpo_endproc must appear after .cv_proc"); in emitFPOEndProc() 189 getContext().reportError(L, "missing .cv_fpo_endprologue"); in emitFPOEndProc() 243 getContext().reportError( in emitFPOStackAlign() 321 const MCRegisterInfo *MRI = OS.getContext().getRegisterInfo(); in emitFrameDataRecord() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXImageOptimizer.cpp | 96 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler() 100 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSampler() 113 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface() 119 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSurface() 131 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture() 138 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePTexture()
|