Home | History | Annotate | Download | only in CodeGen

Lines Matching full:getcontext

93   CharUnits Align = getContext().getTypeAlignInChars(Ty);
99 return CreateMemTemp(Ty, getContext().getTypeAlignInChars(Ty), Name);
116 QualType BoolTy = getContext().BoolTy;
332 CharUnits alignment = CGF.getContext().getTypeAlignInChars(Ty);
544 uint64_t Size = getContext().getTypeSizeInChars(Ty).getQuantity();
565 AlignVal = getContext().getTypeAlignInChars(Ty).getQuantity();
613 if (!CGM.getContext().getSanitizerBlacklist().isBlacklistedType(
760 llvm::APFloat FVal(getContext().getFloatTypeSemantics(ElemTy), 1);
1131 refExpr->EvaluateAsRValue(result, getContext())) {
1137 refExpr->EvaluateAsLValue(result, getContext())) {
1156 if (!getContext().DeclMustBeEmitted(cast<VarDecl>(value)))
1203 Min = llvm::APInt(CGF.getContext().getTypeSize(Ty), 0);
1204 End = llvm::APInt(CGF.getContext().getTypeSize(Ty), 2);
1270 LValue::MakeAddr(Addr, Ty, getContext(), AlignSource, TBAAInfo);
1277 Load->getContext(), llvm::ConstantAsMetadata::get(Builder.getInt32(1)));
1330 assert(Value->getType()->isIntegerTy(getContext().getTypeSize(Ty)) &&
1340 assert(Value->getType()->isIntegerTy(getContext().getTypeSize(Ty)) &&
1382 LValue::MakeAddr(Addr, Ty, getContext(),
1391 llvm::MDNode::get(Store->getContext(),
1536 getContext().getTypeSizeInChars(EQT),
1558 F, llvm::MetadataAsValue::get(Ty->getContext(), RegName));
1815 F, {llvm::MetadataAsValue::get(Ty->getContext(), RegName), Value});
1962 CharUnits Alignment = CGF.getContext().getDeclAlign(VD);
1975 setObjCGCLValueClass(CGF.getContext(), E, LV);
1989 CGF.getContext().getFunctionNoProtoType(Proto->getReturnType());
1990 NoProtoType = CGF.getContext().getPointerType(NoProtoType);
1994 CharUnits Alignment = CGF.getContext().getDeclAlign(FD);
2000 QualType TagType = CGF.getContext().getTagDeclType(FD->getParent());
2026 CharUnits Alignment = CGM.getContext().getDeclAlign(VD);
2047 VD->isUsableInConstantExpressions(getContext()) &&
2080 Address(CapLVal.getPointer(), getContext().getDeclAlign(VD)),
2120 getContext().getDeclAlign(VD));
2163 setObjCGCLValueClass(getContext(), E, LV);
2178 QualType ExprTy = getContext().getCanonicalType(E->getSubExpr()->getType());
2197 LV.setNonGC(!E->isOBJCGCCandidate(getContext()));
2281 TypeInfo = (llvm::Log2_32(getContext().getTypeSize(T)) << 1) |
2285 TypeInfo = getContext().getTypeSize(T);
2353 PresumedLoc PLoc = getContext().getSourceManager().getPresumedLoc(Loc);
2686 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) {
2687 eltType = getFixedSizeElementType(CGF.getContext(), vla);
2691 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType);
2741 getContext().getAsVariableArrayType(E->getType())) {
2765 CharUnits InterfaceSize = getContext().getTypeSizeInChars(OIT);
2824 LV.setNonGC(!E->isOBJCGCCandidate(getContext()));
2825 setObjCGCLValueClass(getContext(), E, LV);
2841 if (auto *AT = getContext().getAsArrayType(BaseTy))
2859 auto &C = CGM.getContext();
2930 if (auto *VLA = getContext().getAsVariableArrayType(ResultExprTy)) {
2933 FixedSizeEltType = getFixedSizeElementType(getContext(), VLA);
2965 getContext().getTypeSizeInChars(FixedSizeEltType));
3050 setObjCGCLValueClass(getContext(), E, LV);
3069 getContext().getTagDeclType(Field->getParent());
3089 assert((idx != 0 || CGF.getContext().getASTRecordLayout(rec)
3093 auto &recLayout = CGF.getContext().getASTRecordLayout(rec);
3095 offset = CGF.getContext().toCharUnitsFromBits(offsetInBits);
3154 tbaa = CGM.getTBAAInfo(getContext().CharTy);
3190 getContext().getASTRecordLayout(field->getParent());
3193 LV.setTBAABaseType(mayAlias ? getContext().CharTy : base.getTBAABaseType());
3196 getContext().getCharWidth());
3207 LV.setTBAAInfo(CGM.getTBAAInfo(getContext().CharTy));
3652 assert(E->getCallReturnType(getContext())->isReferenceType() &&
3759 setObjCGCLValueClass(getContext(), E, LV);
3798 CalleeType = getContext().getCanonicalType(CalleeType);
3878 CGM.getContext().VoidPtrTy);