HomeSort by relevance Sort by last modified time
    Searched defs:CGF (Results 1 - 8 of 8) sorted by null

  /external/clang/lib/CodeGen/
CGAtomic.cpp 38 CodeGenFunction &CGF;
49 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) : CGF(CGF) {
54 EvaluationKind = CGF.getEvaluationKind(ValueTy);
56 ASTContext &C = CGF.getContext();
99 CharUnits size = CGF.getContext().toCharUnitsFromBits(AtomicSizeInBits);
100 return CGF.CGM.getSize(size);
118 addr = CGF.Builder.CreateStructGEP(addr, 0);
121 CGF.getContext(), lvalue.getTBAAInfo())
    [all...]
CGExprAgg.cpp 34 CodeGenFunction &CGF;
56 return CGF.CreateAggTemp(T, "agg.tmp.ensured");
60 Dest = CGF.CreateAggTemp(T, "agg.tmp.ensured");
64 AggExprEmitter(CodeGenFunction &cgf, AggValueSlot Dest)
65 : CGF(cgf), Builder(CGF.Builder), Dest(Dest) {
90 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T))
102 CGF.ErrorUnsupported(S, "aggregate expression");
123 = CGF.tryEmitAsConstant(E))
    [all...]
CGExprComplex.cpp 44 CodeGenFunction &CGF;
49 ComplexExprEmitter(CodeGenFunction &cgf, bool ir=false, bool ii=false)
50 : CGF(cgf), Builder(CGF.Builder), IgnoreReal(ir), IgnoreImag(ii) {
73 return EmitLoadOfLValue(CGF.EmitLValue(E));
98 S->dump(CGF.getContext().getSourceManager());
114 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) {
116 return EmitLoadOfLValue(result.getReferenceLValue(CGF, E));
128 return CGF.EmitObjCMessageExpr(E).getComplexVal()
    [all...]
CGExprConstant.cpp 38 CodeGenFunction *CGF;
45 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF,
47 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF,
51 ConstStructBuilder(CodeGenModule &CGM, CodeGenFunction *CGF)
52 : CGM(CGM), CGF(CGF), Packed(false),
392 Field->getType(), CGF);
477 CGM.EmitConstantValueForMemory(FieldValue, Field->getType(), CGF);
545 CodeGenFunction *CGF,
547 ConstStructBuilder Builder(CGM, CGF);
    [all...]
CGClass.cpp 111 ApplyNonVirtualAndVirtualOffset(CodeGenFunction &CGF, llvm::Value *ptr,
120 baseOffset = llvm::ConstantInt::get(CGF.PtrDiffTy,
123 baseOffset = CGF.Builder.CreateAdd(virtualOffset, baseOffset);
130 ptr = CGF.Builder.CreateBitCast(ptr, CGF.Int8PtrTy);
131 ptr = CGF.Builder.CreateInBoundsGEP(ptr, baseOffset, "add.ptr");
343 void Emit(CodeGenFunction &CGF, Flags flags) {
345 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent();
349 CGF.GetAddressOfDirectBaseInCompleteClass(CGF.LoadCXXThis()
    [all...]
CodeGenFunction.h 196 virtual void EmitBody(CodeGenFunction &CGF, Stmt *S) {
197 CGF.EmitStmt(S);
308 void enter(CodeGenFunction &CGF, const Stmt *Finally,
311 void exit(CodeGenFunction &CGF);
463 CodeGenFunction& CGF;
467 explicit RunCleanupsScope(CodeGenFunction &CGF)
468 : PerformCleanup(true), CGF(CGF)
470 CleanupStackDepth = CGF.EHStack.stable_begin();
472 CGF.LifetimeExtendedCleanupStack.size()
    [all...]
CGExprScalar.cpp 61 CodeGenFunction &CGF;
67 ScalarExprEmitter(CodeGenFunction &cgf, bool ira=false)
68 : CGF(cgf), Builder(CGF.Builder), IgnoreResultAssign(ira),
69 VMContext(cgf.getLLVMContext()) {
82 llvm::Type *ConvertType(QualType T) { return CGF.ConvertType(T); }
83 LValue EmitLValue(const Expr *E) { return CGF.EmitLValue(E); }
85 return CGF.EmitCheckedLValue(E, TCK);
91 return CGF.EmitLoadOfLValue(LV).getScalarVal()
    [all...]
CGObjCMac.cpp     [all...]

Completed in 774 milliseconds