Home
last modified time | relevance | path

Searched refs:EmitScalarExpr (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/CodeGen/
DCGBuiltin.cpp88 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in EmitBinaryAtomic()
98 Args[1] = CGF.EmitScalarExpr(E->getArg(1)); in EmitBinaryAtomic()
122 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in EmitBinaryAtomicPost()
131 Args[1] = CGF.EmitScalarExpr(E->getArg(1)); in EmitBinaryAtomicPost()
242 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
293 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
310 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
327 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
348 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
364 Value *ArgValue = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr()
[all …]
DCGAtomic.cpp352 Ptr = EmitScalarExpr(E->getPtr()); in EmitAtomicExpr()
361 Order = EmitScalarExpr(E->getOrder()); in EmitAtomicExpr()
372 Dest = EmitScalarExpr(E->getVal1()); in EmitAtomicExpr()
376 Val1 = EmitScalarExpr(E->getVal1()); in EmitAtomicExpr()
380 Val1 = EmitScalarExpr(E->getVal1()); in EmitAtomicExpr()
381 Dest = EmitScalarExpr(E->getVal2()); in EmitAtomicExpr()
388 Val1 = EmitScalarExpr(E->getVal1()); in EmitAtomicExpr()
390 Val2 = EmitScalarExpr(E->getVal2()); in EmitAtomicExpr()
393 OrderFail = EmitScalarExpr(E->getOrderFail()); in EmitAtomicExpr()
396 EmitScalarExpr(E->getWeak()); in EmitAtomicExpr()
[all …]
DCGCUDARuntime.cpp46 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); in EmitCUDAKernelCallExpr()
DCGExpr.cpp89 llvm::Value *MemPtr = EmitScalarExpr(E); in EvaluateExprAsBool()
95 return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy); in EvaluateExprAsBool()
119 return RValue::get(EmitScalarExpr(E, ignoreResult)); in EmitAnyExpr()
165 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); in EmitAnyExprToMem()
389 llvm::Value *Ptr = EmitScalarExpr(Adjustment.Ptr.RHS); in EmitMaterializeTemporaryExpr()
1409 llvm::Value *RHS = EmitScalarExpr(Dst.getBaseIvarExp()); in EmitStoreThroughLValue()
1837 LValue LV = MakeNaturalAlignAddrLValue(EmitScalarExpr(E->getSubExpr()), T); in EmitUnaryOpLValue()
2214 llvm::Value *Idx = EmitScalarExpr(E->getIdx()); in EmitArraySubscriptExpr()
2245 Address = EmitScalarExpr(E->getBase()); in EmitArraySubscriptExpr()
2270 llvm::Value *Base = EmitScalarExpr(E->getBase()); in EmitArraySubscriptExpr()
[all …]
DCGObjC.cpp130 llvm::Value *value = EmitScalarExpr(Rhs); in EmitObjCCollectionLiteral()
142 llvm::Value *keyValue = EmitScalarExpr(Key); in EmitObjCCollectionLiteral()
151 llvm::Value *valueValue = EmitScalarExpr(Value); in EmitObjCCollectionLiteral()
332 Receiver = EmitScalarExpr(E->getInstanceReceiver()); in EmitObjCMessageExpr()
1469 Collection = EmitScalarExpr(S.getCollection()); in EmitObjCForCollectionStmt()
2400 return TryEmitResult(CGF.EmitScalarExpr(e), false); in tryEmitARCRetainLoadOfScalar()
2411 llvm::Value *value = CGF.EmitScalarExpr(e); in emitARCRetainCall()
2593 llvm::Value *result = CGF.EmitScalarExpr(ce->getSubExpr()); in tryEmitARCRetainScalarExpr()
2607 result = CGF.EmitScalarExpr(ce->getSubExpr()); in tryEmitARCRetainScalarExpr()
2680 llvm::Value *result = CGF.EmitScalarExpr(e); in tryEmitARCRetainScalarExpr()
[all …]
DCGExprScalar.cpp389 CGF.EmitScalarExpr(E->getBase()); in VisitCXXPseudoDestructorExpr()
898 Value *LHS = CGF.EmitScalarExpr(E->getExpr(0)); in VisitShuffleVectorExpr()
899 Value *RHS = CGF.EmitScalarExpr(E->getExpr(1)); in VisitShuffleVectorExpr()
906 Mask = CGF.EmitScalarExpr(E->getExpr(2)); in VisitShuffleVectorExpr()
953 Value* V1 = CGF.EmitScalarExpr(E->getExpr(0)); in VisitShuffleVectorExpr()
954 Value* V2 = CGF.EmitScalarExpr(E->getExpr(1)); in VisitShuffleVectorExpr()
973 CGF.EmitScalarExpr(E->getBase()); in VisitMemberExpr()
1736 llvm::Value* Idx = CGF.EmitScalarExpr(IdxExpr); in VisitOffsetOfExpr()
1879 CGF.EmitScalarExpr(Op, true); in VisitUnaryImag()
2605 Value *LHS = CGF.EmitScalarExpr(E->getLHS()); in EmitCompare()
[all …]
DCGExprComplex.cpp364 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral()
478 return EmitScalarToComplexCast(CGF.EmitScalarExpr(Op), in EmitCast()
793 llvm::Value *Real = CGF.EmitScalarExpr(E->getInit(0)); in VisitInitListExpr()
794 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); in VisitInitListExpr()
DCGDeclCXX.cpp41 CGM.getObjCRuntime().EmitObjCGlobalAssign(CGF, CGF.EmitScalarExpr(Init), in EmitDeclInit()
44 CGM.getObjCRuntime().EmitObjCWeakAssign(CGF, CGF.EmitScalarExpr(Init), in EmitDeclInit()
DCGStmt.cpp412 llvm::Value *V = Builder.CreateBitCast(EmitScalarExpr(S.getTarget()), in EmitIndirectGotoStmt()
836 Builder.CreateStore(EmitScalarExpr(RV), ReturnValue); in EmitReturnStmt()
1275 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt()
1444 return EmitScalarExpr(InputExpr); in EmitAsmInput()
DCGExprCXX.cpp221 This = EmitScalarExpr(Base); in EmitCXXMemberCallExpr()
337 llvm::Value *MemFnPtr = EmitScalarExpr(MemFnExpr); in EmitCXXMemberPointerCallExpr()
343 This = EmitScalarExpr(BaseExpr); in EmitCXXMemberPointerCallExpr()
576 numElements = CGF.EmitScalarExpr(e->getArraySize()); in EmitCXXNewAllocSize()
1584 llvm::Value *Ptr = EmitScalarExpr(Arg); in EmitCXXDeleteExpr()
DCGObjCRuntime.cpp325 lock = CGF.EmitScalarExpr(lockExpr); in EmitAtSynchronizedStmt()
DCGDecl.cpp566 llvm::Value *value = EmitScalarExpr(init); in EmitScalarInit()
622 value = EmitScalarExpr(init); in EmitScalarInit()
634 value = EmitScalarExpr(init); in EmitScalarInit()
DCodeGenFunction.cpp1316 llvm::Value *Size = EmitScalarExpr(size); in EmitVariablyModifiedType()
1378 return EmitScalarExpr(E); in EmitVAListRef()
DCGExprAgg.cpp1042 CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV); in EmitInitializationToLValue()
DCGClass.cpp602 RValue RHS = RValue::get(EmitScalarExpr(Init)); in EmitInitializerForField()
DCodeGenFunction.h2245 llvm::Value *EmitScalarExpr(const Expr *E , bool IgnoreResultAssign = false);
DCGBlocks.cpp939 llvm::Value *Callee = EmitScalarExpr(E->getCallee()); in EmitBlockCallExpr()
DCGCall.cpp1899 llvm::Value *srcAddr = CGF.EmitScalarExpr(CRE->getSubExpr()); in emitWritebackArg()
DCGObjCMac.cpp3831 CGF.EmitScalarExpr(cast<ObjCAtSynchronizedStmt>(S).getSynchExpr()); in EmitTryOrSynchronizedStmt()