Home | History | Annotate | Download | only in CodeGen

Lines Matching full:getcontext

89       VMContext(M.getContext()), TBAA(nullptr), TheTargetCodeGenInfo(nullptr),
102 llvm::LLVMContext &LLVMContext = M.getContext();
715 GVALinkage Linkage = getContext().GetGVALinkageForFunction(D);
818 F->getContext(),
849 F->getContext(), llvm::AttributeSet::FunctionIndex, B));
973 if (getContext().GetGVALinkageForFunction(FD) == GVA_AvailableExternally)
1295 SourceManager &SM = getContext().getSourceManager();
1303 SourceManager &SM = getContext().getSourceManager();
1338 const auto &SanitizerBL = getContext().getSanitizerBlacklist();
1361 const auto &SanitizerBL = getContext().getSanitizerBlacklist();
1375 std::string TypeStr = Ty.getAsString(getContext().getPrintingPolicy());
1388 return getContext().DeclMustBeEmitted(Global);
1400 getContext().getTargetInfo().isTLSSupported() && isa<VarDecl>(Global))
1436 CharUnits Alignment = getContext().getDeclAlign(VD);
1442 unsigned AS = getContext().getTargetAddressSpace(VD->getType());
1671 const auto *ThisPtr = cast<PointerType>(D->getThisType(getContext()));
2011 GV->setAlignment(getContext().getDeclAlign(D).getQuantity());
2023 if (getContext().isMSStaticDataMemberInlineDefinition(D)) {
2123 llvm::PointerType::get(Ty, getContext().getTargetAddressSpace(ASTTy));
2164 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_constant);
2166 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_shared);
2168 AddrSpace = getContext().getTargetAddressSpace(LangAS::cuda_device);
2216 Linkage = CGM.getContext().GetGVALinkageForVariable(VD);
2218 Linkage = CGM.getContext().GetGVALinkageForFunction(cast<FunctionDecl>(&D));
2324 GetGlobalVarAddressSpace(D, getContext().getTargetAddressSpace(ASTTy))) {
2370 GV->setAlignment(getContext().getDeclAlign(D).getQuantity());
2540 GVALinkage Linkage = getContext().GetGVALinkageForVariable(VD);
2585 llvm::AttributeSet::get(newFn->getContext(),
2607 AttributeSet::get(newFn->getContext(),
2614 newAttrs.push_back(llvm::AttributeSet::get(newFn->getContext(),
2641 llvm::AttributeSet::get(newFn->getContext(), newAttrs));
2872 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy);
2883 QualType CFTy = getContext().getCFConstantStringType();
2893 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy);
2920 CharUnits Align = getContext().getTypeAlignInChars(getContext().ShortTy);
2924 CharUnits Align = getContext().getTypeAlignInChars(getContext().CharTy);
2938 Ty = getTypes().ConvertType(getContext().LongTy);
2970 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy);
3045 CharUnits Align = getContext().getTypeAlignInChars(getContext().CharTy);
3051 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy);
3153 AddrSpace = CGM.getContext().getTargetAddressSpace(LangAS::opencl_constant);
3175 CharUnits Alignment = getContext().getAlignOfGlobalVarInChars(S->getType());
3222 getContext().getObjCEncodingForType(E->getEncodedType(), Str);
3234 getContext().getAlignOfGlobalVarInChars(getContext().CharTy);
3273 CharUnits Align = getContext().getTypeAlignInChars(MaterializedType);
3292 Value = getContext().getMaterializedTemporaryValue(E, false);
3299 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) &&
3334 VD, getContext().getTargetAddressSpace(MaterializedType));
3402 IdentifierInfo *II = &getContext().Idents.get(".cxx_destruct");
3403 Selector cxxSelector = getContext().Selectors.getSelector(0, &II);
3405 ObjCMethodDecl::Create(getContext(), D->getLocation(), D->getLocation(),
3406 cxxSelector, getContext().VoidTy, nullptr, D,
3421 IdentifierInfo *II = &getContext().Idents.get(".cxx_construct");
3422 Selector cxxSelector = getContext().Selectors.getSelector(0, &II);
3424 ObjCMethodDecl *CTORMethod = ObjCMethodDecl::Create(getContext(),
3428 getContext().getObjCIdType(),
3576 DI->getOrCreateInterfaceType(getContext().getObjCInterfaceType(
3819 llvm::LLVMContext &Ctx = TheModule.getContext();
3844 llvm::LLVMContext &Ctx = TheModule.getContext();
3903 !VD->getAnyInitializer()->isConstantInitializer(getContext(),
3906 Address Addr(GetAddrOfGlobalVar(VD), getContext().getDeclAlign(VD));