Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:CGF

22 static void ErrorUnsupportedABI(CodeGenFunction &CGF,
24 DiagnosticsEngine &Diags = CGF.CGM.getDiags();
27 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()),
42 llvm::Value *CGCXXABI::EmitLoadOfMemberFunctionPointer(CodeGenFunction &CGF,
46 ErrorUnsupportedABI(CGF, "calls through member pointers");
57 llvm::Value *CGCXXABI::EmitMemberDataPointerAddress(CodeGenFunction &CGF,
61 ErrorUnsupportedABI(CGF, "loads of member pointers");
62 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())->getPointerTo();
66 llvm::Value *CGCXXABI::EmitMemberPointerConversion(CodeGenFunction &CGF,
69 ErrorUnsupportedABI(CGF, "member function pointer conversions");
79 CGCXXABI::EmitMemberPointerComparison(CodeGenFunction &CGF,
84 ErrorUnsupportedABI(CGF, "member function pointer comparison");
85 return CGF.Builder.getFalse();
89 CGCXXABI::EmitMemberPointerIsNotNull(CodeGenFunction &CGF,
92 ErrorUnsupportedABI(CGF, "member function pointer null testing");
93 return CGF.Builder.getFalse();
121 void CGCXXABI::BuildThisParam(CodeGenFunction &CGF, FunctionArgList &params) {
122 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl());
131 getThisDecl(CGF) = ThisDecl;
134 void CGCXXABI::EmitThisParam(CodeGenFunction &CGF) {
136 assert(getThisDecl(CGF) && "no 'this' variable for function");
137 getThisValue(CGF)
138 = CGF.Builder.CreateLoad(CGF.GetAddrOfLocalVar(getThisDecl(CGF)),
142 void CGCXXABI::EmitReturnFromThunk(CodeGenFunction &CGF,
144 CGF.EmitReturnOfRValue(RV, ResultType);
151 llvm::Value *CGCXXABI::InitializeArrayCookie(CodeGenFunction &CGF,
157 ErrorUnsupportedABI(CGF, "array cookie initialization");
161 void CGCXXABI::ReadArrayCookie(CodeGenFunction &CGF, llvm::Value *Ptr,
165 ErrorUnsupportedABI(CGF, "array cookie reading");
169 AllocPtr = llvm::Constant::getNullValue(CGF.Builder.getInt8PtrTy());
173 void CGCXXABI::EmitGuardedInit(CodeGenFunction &CGF,
177 ErrorUnsupportedABI(CGF, "static local variable initialization");