Searched refs:getContext (Results 101 - 125 of 708) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp182 const ASTContext &Context = CGM.getContext();
183 const uint64_t CharWidth = CGM.getContext().getCharWidth();
576 const ASTContext &Context = CGM.getContext();
592 uint64_t FieldSize = Field->getBitWidthValue(CGM.getContext());
607 CGM.getContext().toBits(StartOffset) + FieldOffset,
618 auto CAT = Emitter.CGM.getContext().getAsConstantArrayType(Type);
622 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType);
664 const ASTRecordLayout &Layout = CGM.getContext().getASTRecordLayout(RD);
685 if (Field->isUnnamedBitfield() || Field->isZeroSize(CGM.getContext()))
702 CharUnits Offset = CGM.getContext()
[all...]
H A DCGExprAgg.cpp362 CharUnits sz = dest.getPreferredSize(CGF.getContext(), type);
386 ASTContext &Ctx = CGF.getContext();
477 CGF.getContext().getAsArrayType(ArrayQTy)->getElementType();
486 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType);
494 elementType.isTriviallyCopyableType(CGF.getContext())) {
504 CGM.getContext().getTargetAddressSpace(AS));
506 CharUnits Align = CGM.getContext().getTypeAlignInChars(ArrayQTy);
654 E->getType().isPODType(CGF.getContext())) {
731 CGF.getContext().getTypeSizeInChars(E->getType()).getQuantity());
753 assert(CGF.getContext()
[all...]
H A DSwiftCallingConv.cpp74 auto arrayType = CGM.getContext().getAsConstantArrayType(type);
78 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType);
86 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType);
94 addOpaqueData(begin, begin + CGM.getContext().getTypeSizeInChars(type));
106 addTypedData(record, begin, CGM.getContext().getASTRecordLayout(record));
156 begin + CGM.getContext().toCharUnitsFromBits(fieldOffsetInBits));
174 auto &ctx = CGM.getContext();
530 CGM.getContext().toBits(unitSize));
640 return CGM.getContext().toCharUnitsFromBits(
641 CGM.getContext()
[all...]
H A DCGExprCXX.cpp194 return EmitCall(getContext().getPointerType(MD->getType()), callee, CE,
334 ASTContext &C = getContext();
464 getContext().getPointerType(getContext().getTagDeclType(RD));
502 const ASTRecordLayout &Layout = CGF.getContext().getASTRecordLayout(Base);
613 assert(getContext().hasSameUnqualifiedType(E->getType(),
615 if (E->getArg(0)->isTemporaryObject(getContext(), CD->getParent())) {
622 = getContext().getAsArrayType(E->getType())) {
671 assert(!getContext().getAsConstantArrayType(E->getType())
697 CharUnits typeSize = CGF.getContext()
[all...]
H A DCGClass.cpp41 auto &layout = getContext().getASTRecordLayout(RD);
63 auto &baseLayout = getContext().getASTRecordLayout(vbaseClass);
79 auto &baseLayout = getContext().getASTRecordLayout(baseDecl);
155 const ASTContext &Context = getContext();
189 Types.ConvertType(getContext().getPointerDiffType());
209 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(Derived);
299 const ASTRecordLayout &layout = getContext().getASTRecordLayout(Derived);
310 QualType DerivedTy = getContext().getRecordType(Derived);
385 getContext().getCanonicalType(getContext()
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp554 LLVMContext &Ctx = M.getContext();
555 auto *ReturnTy = Type::getVoidTy(M.getContext());
559 AL = AL.addParamAttribute(M.getContext(), 2, AK);
778 LLVMContext &Ctx = M->getContext();
895 auto &Ctx = M->getContext();
923 auto &Ctx = M->getContext();
947 auto *VoidTy = Type::getVoidTy(M->getContext());
948 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext());
949 auto *Int64Ty = Type::getInt64Ty(M->getContext());
962 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", Register
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp191 return getContext().pImpl->GlobalValuePartitions[this];
202 S = getContext().pImpl->Saver.save(S);
203 getContext().pImpl->GlobalValuePartitions[this] = S;
212 return getContext().pImpl->GlobalObjectSections[this];
223 S = getContext().pImpl->Saver.save(S);
224 getContext().pImpl->GlobalObjectSections[this] = S;
H A DPass.cpp63 OptPassGate &Gate = M.getContext().getOptPassGate();
167 OptPassGate &Gate = F.getContext().getOptPassGate();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp245 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo();
502 const bool LittleEndian = getContext().getAsmInfo()->isLittleEndian();
561 getContext().reportError(Loc, "relocated expression must be 32-bit");
649 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
660 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
1089 AttributeSection = Streamer.getContext().getELFSection(
1214 MCSectionELF *EHSection = getContext().getELFSection(
1260 FnStart = getContext().createTempSymbol();
1285 getContext());
1296 getContext());
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp36 T = SVB.getContext().VoidPtrTy;
38 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUTargetStreamer.h35 MCContext &getContext() const { return Streamer.getContext(); } function in class:llvm::AMDGPUTargetStreamer
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineModuleInfo.h161 const MCContext &getContext() const { return Context; } function in class:llvm::MachineModuleInfo
162 MCContext &getContext() { return Context; } function in class:llvm::MachineModuleInfo
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h67 return Type::getIntNTy(getContext(), 2 * getScalarSizeInBits());
293 LLVMContext &Ctx = elt1->getContext();
386 : CompositeType(ElType->getContext(), TID), ContainedType(ElType),
471 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits);
491 EltTy = Type::getFloatTy(VTy->getContext());
494 EltTy = Type::getHalfTy(VTy->getContext());
503 EltTy = IntegerType::get(VTy->getContext(), EltBits / 2);
629 Type *NewType = getIntNTy(getContext(), NewBitWidth);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp107 MCSection &Section = *getAssembler().getContext().getELFSection(
136 ELFSymbol->setSize(MCConstantExpr::create(Size, getContext()));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DFaultMaps.cpp33 MCContext &OutContext = AP.OutStreamer->getContext();
51 MCContext &OutContext = AP.OutStreamer->getContext();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp74 IntegerType *Int32Ty = Type::getInt32Ty(GV.getContext());
109 *MDNode::get(GV.getContext(),
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp238 GuardFnType = FunctionType::get(Type::getVoidTy(M.getContext()),
239 {Type::getInt8PtrTy(M.getContext())}, false);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp568 D->setDeclContext(Reader.getContext().getTranslationUnitDecl());
578 Reader.getContext());
587 D->setAttrsImpl(Attrs, Reader.getContext());
610 } else if (Reader.getContext().getLangOpts().ModulesLocalVisibility) {
714 auto *Info = new (Reader.getContext()) TagDecl::ExtInfo();
751 Reader.getContext().getLangOpts().Modules &&
752 Reader.getContext().getLangOpts().CPlusPlus) {
778 ED->setInstantiationOfMemberEnum(Reader.getContext(), InstED, TSK);
824 auto *Info = new (Reader.getContext()) DeclaratorDecl::ExtInfo();
832 : Reader.getContext()
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DWasmException.cpp62 MCContext &OutContext = Asm->OutStreamer->getContext();
H A DErlangGCPrinter.cpp51 AP.getObjFileLowering().getContext().getELFSection(".note.gc",
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCAsmInfo.cpp59 MCContext &Context = Streamer.getContext();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPConstants.cpp61 LLVMContext &Ctx = M.getContext();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp81 MDBuilder(CI->getContext())
88 MDBuilder(CI->getContext()).createBranchWeights(Weights));
203 MDBuilder MDB(PhiDef->getContext());
288 MDBuilder MDB(CI->getContext());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp93 Type *IntTy = ST->isPPC64() ? Type::getInt64Ty(V->getContext())
94 : Type::getInt32Ty(V->getContext());
263 Type *Int1Ty = Type::getInt1Ty(U->getContext());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h280 M->getContext().getMDKindID("clang.imprecise_release");
285 M->getContext().getMDKindID("clang.arc.copy_on_escape");
290 M->getContext().getMDKindID("clang.arc.no_objc_arc_exceptions");

Completed in 384 milliseconds

1234567891011>>