Searched refs:getContext (Results 26 - 50 of 708) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp32 return CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar) /
33 CGM.getContext().getCharWidth();
39 return CGM.getContext().lookupFieldBitOffset(OID->getClassInterface(), OID,
41 CGM.getContext().getCharWidth();
48 return CGM.getContext().lookupFieldBitOffset(ID, ID->getImplementation(),
61 CGF.CGM.getContext().getObjCObjectPointerType(InterfaceTy);
89 CGF.CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar);
90 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth();
92 uint64_t BitFieldSize = Ivar->getBitWidthValue(CGF.getContext());
93 CharUnits StorageSize = CGF.CGM.getContext()
[all...]
H A DCGGPUBuiltin.cpp24 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()),
25 llvm::Type::getInt8PtrTy(M.getContext())};
27 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false);
H A DTargetInfo.cpp84 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty),
90 return ABIArgInfo::getIndirectInReg(getContext().getTypeAlignInChars(Ty),
191 ASTContext &ABIInfo::getContext() const { function in class:ABIInfo
192 return CGT.getContext();
334 /// computed with getContext().getTypeInfoInChars(ValueTy).
629 auto TyInfo = CGF.getContext().getTypeInfoInChars(Ty);
809 if (isEmptyRecord(getContext(), Ty, true))
814 if (const Type *SeltTy = isSingleElementStruct(Ty, getContext()))
828 if (isEmptyRecord(getContext(), RetTy, true))
833 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext()))
[all...]
H A DCGObjC.cpp98 getContext().getObjCEncodingForType(ValueType, Str);
120 ASTContext &Context = CGM.getContext();
131 QualType IdTy(CGM.getContext().getObjCIdType());
664 CGF.getContext().VoidTy,
746 ASTContext &Context = CGF.getContext();
762 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType());
854 CGM.getContext().getTypeInfoInChars(ivarType);
917 CGM.getContext().getObjCGCAttrKind(ivarType))) {
1018 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy);
1025 args.add(RValue::get(ivarAddr), CGF.getContext()
[all...]
H A DCGCXXABI.cpp27 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()),
38 return CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType());
104 return GetBogusMemberPointer(CGM.getContext().getMemberPointerType(
128 CGM.getContext(), nullptr, MD->getLocation(),
129 &CGM.getContext().Idents.get("this"), MD->getThisType(),
136 auto &Layout = CGF.getContext().getASTRecordLayout(MD->getParent());
266 getContext().getASTRecordLayout(Derived).getBaseClassOffset(Base);
H A DCGDebugInfo.cpp174 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc);
182 SourceManager &SM = CGM.getContext().getSourceManager();
223 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl),
229 PrintingPolicy PP = CGM.getContext().getPrintingPolicy();
338 ASTContext &Context = CGM.getContext();
369 SourceManager &SM = CGM.getContext().getSourceManager();
404 SourceManager &SM = CGM.getContext().getSourceManager();
482 SourceManager &SM = CGM.getContext().getSourceManager();
495 SourceManager &SM = CGM.getContext().getSourceManager();
524 SourceManager &SM = CGM.getContext()
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFTargetStreamer.cpp82 MCContext &getContext() { return getStreamer().getContext(); } function in class:__anon2474::X86WinCOFFTargetStreamer
102 ProcSym->print(OS, getStreamer().getContext().getAsmInfo());
120 ProcSym->print(OS, getStreamer().getContext().getAsmInfo());
152 getContext().reportError(
161 MCSymbol *Label = getContext().createTempSymbol("cfi", true);
169 getContext().reportError(
182 getContext().reportError(L, ".cv_fpo_endproc must appear after .cv_proc");
188 getContext().reportError(L, "missing .cv_fpo_endprologue");
242 getContext()
[all...]
H A DX86MachObjectWriter.cpp157 Asm.getContext().reportError(Fixup.getLoc(),
165 Asm.getContext().reportError(
181 Asm.getContext().reportError(
190 Asm.getContext().reportError(Fixup.getLoc(),
220 if (!Asm.getContext().getAsmInfo()->isSectionAtomizableBySymbols(Sec))
260 Asm.getContext().reportError(Fixup.getLoc(),
266 Asm.getContext().reportError(
286 Asm.getContext().reportError(
314 Asm.getContext().reportError(
333 Asm.getContext()
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCAsmInfo.cpp42 MCContext &Ctx = Streamer.getContext();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcTargetObjectFile.cpp40 MCContext &Ctx = getContext();
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DThreadSafeModule.h61 LLVMContext *getContext() { return S ? S->Ctx.get() : nullptr; } function in class:llvm::orc::ThreadSafeContext
65 const LLVMContext *getContext() const { return S ? S->Ctx.get() : nullptr; } function in class:llvm::orc::ThreadSafeContext
124 assert(TSCtx.getContext() &&
156 ThreadSafeContext getContext() const { return TSCtx; } function in class:llvm::orc::ThreadSafeModule
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSelectionDAGInfo.cpp36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext());
55 Type::getVoidTy(*DAG.getContext()),
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp22 SmallDataSection = getContext().getELFSection(
24 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEscapeEnumerator.cpp22 LLVMContext &C = M->getContext();
67 LLVMContext &C = F.getContext();
H A DModuleUtils.cpp25 IRBuilder<> IRB(M.getContext());
86 Type *Int8PtrTy = llvm::Type::getInt8PtrTy(M.getContext());
116 FunctionType::get(Type::getVoidTy(M.getContext()), InitArgTypes, false),
130 FunctionType::get(Type::getVoidTy(M.getContext()), false),
132 BasicBlock *CtorBB = BasicBlock::Create(M.getContext(), "", Ctor);
133 IRBuilder<> IRB(ReturnInst::Create(M.getContext(), CtorBB));
156 Ctor->getReturnType() == Type::getVoidTy(M.getContext()))
171 F->getReturnType() != Type::getVoidTy(M.getContext())) {
181 Type::getVoidTy(M.getContext()))
310 Attribute::get(M->getContext(), MappingsAttrNam
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp66 MCSymbolRefExpr::VK_ARM_TARGET2, getContext());
72 getContext());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmInfo.cpp93 return MCSymbolRefExpr::create(Sym, Streamer.getContext());
95 MCContext &Context = Streamer.getContext();
H A DMCDwarf.cpp88 if (!MCOS->getContext().getDwarfLocSeen())
92 MCSymbol *LineSym = MCOS->getContext().createTempSymbol();
97 const MCDwarfLoc &DwarfLoc = MCOS->getContext().getCurrentDwarfLoc();
103 MCOS->getContext().clearDwarfLocSeen();
106 MCOS->getContext()
107 .getMCDwarfLineTable(MCOS->getContext().getDwarfCompileUnitID())
121 MCSymbolRefExpr::create(&End, Variant, MCOS.getContext());
123 MCSymbolRefExpr::create(&Start, Variant, MCOS.getContext());
125 MCBinaryExpr::create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext());
127 MCConstantExpr::create(IntVal, MCOS.getContext());
[all...]
H A DMCObjectStreamer.cpp118 getContext().reportError(PendingFixup.Fixup.getLoc(),
240 getContext().reportError(
254 MCSymbol *Label = getContext().createTempSymbol("cfi", true);
261 Frame.Begin = getContext().createTempSymbol();
266 Frame.End = getContext().createTempSymbol();
343 getContext().clearDwarfLocSeen();
461 MCContext &Context = OS.getContext();
523 MCSymbol *LineSym = getContext().createTempSymbol();
525 getContext().getCVContext().recordCVLoc(getContext(), LineSy
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp123 BasicBlock *BB = BasicBlock::Create(M->getContext(), "body", Wrapper);
183 ReturnInst::Create(M->getContext(), BB);
186 ReturnInst::Create(M->getContext(), UndefValue::get(RtnType), BB);
188 ReturnInst::Create(M->getContext(), Call, BB);
194 ReturnInst::Create(M->getContext(), Cast, BB);
213 BasicBlock *BB = BasicBlock::Create(M->getContext(), "body", Wrapper);
214 new UnreachableInst(M->getContext(), BB);
255 LLVMContext &C = M.getContext();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp68 getType()->getContext().pImpl->MetadataAsValues.erase(MD);
121 LLVMContext &Context = getContext();
351 auto &Context = V->getContext();
369 return V->getContext().pImpl->ValuesAsMetadata.lookup(V);
375 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata;
397 LLVMContext &Context = From->getType()->getContext();
796 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \
808 getContext().pImpl->CLASS##s.erase(cast<CLASS>(this)); \
857 getContext().pImpl->DistinctMDNodes.push_back(this);
908 return getOrSelfReference(A->getContext(), MD
[all...]
H A DConstantFold.cpp60 Type *Ty = IntegerType::get(CV->getContext(), 32);
94 IntegerType *FakeIntPtrTy = Type::getInt64Ty(DstTy->getContext());
114 Constant::getNullValue(Type::getInt32Ty(DPTy->getContext()));
173 return ConstantFP::get(DestTy->getContext(),
196 return ConstantInt::get(FP->getContext(),
228 return ConstantInt::get(CI->getContext(), V);
280 IntegerType::get(CE->getContext(), ByteSize * 8));
303 IntegerType::get(CE->getContext(), ByteSize * 8));
319 return Constant::getNullValue(IntegerType::get(CE->getContext(),
339 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(),
[all...]
H A DConstants.cpp323 return ConstantFP::get(Ty->getContext(),
326 return ConstantFP::get(Ty->getContext(),
329 return ConstantFP::get(Ty->getContext(),
332 return ConstantFP::get(Ty->getContext(),
335 return ConstantFP::get(Ty->getContext(),
338 return ConstantFP::get(Ty->getContext(),
348 return ConstantTokenNone::get(Ty->getContext());
359 Constant *C = ConstantInt::get(Ty->getContext(), V);
374 return ConstantInt::get(Ty->getContext(),
380 return ConstantFP::get(Ty->getContext(), F
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp268 auto &C = getContext();
360 return getContext().getOrCreateSymbol(StringRef("DW.ref.") +
372 cast<MCSymbolELF>(getContext().getOrCreateSymbol(NameData));
376 MCSection *Sec = getContext().getELFNamedSection(".data", Label->getName(),
382 const MCExpr *E = MCConstantExpr::create(Size, getContext());
406 getTTypeReference(MCSymbolRefExpr::create(SSym, getContext()),
601 MCSectionELF *Section = getContext().getELFSection(
706 getContext(), GO, Kind, getMangler(), TM, EmitUniqueSection, Flags,
721 return selectELFSectionForGlobal(getContext(), &F, SectionKind::getReadOnly(),
794 return getStaticStructorSection(getContext(), UseInitArra
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DWasmAsmParser.cpp131 MCSectionWasm *Section = getContext().getWasmSection(Name, Kind.getValue());
151 auto WS = getContext().getWasmSection(Name, Kind.getValue());
162 auto Sym = getContext().getOrCreateSymbol(Name);
183 getStreamer().getContext().getOrCreateSymbol(
234 MCSymbol *Sym = getContext().getOrCreateSymbol(Name);

Completed in 253 milliseconds

1234567891011>>