Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGBuiltin.cpp94 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in MakeBinaryAtomicValue()
104 Args[1] = CGF.EmitScalarExpr(E->getArg(1)); in MakeBinaryAtomicValue()
115 Value *Val = CGF.EmitScalarExpr(E->getArg(0)); in EmitNontemporalStore()
116 Value *Address = CGF.EmitScalarExpr(E->getArg(1)); in EmitNontemporalStore()
129 Value *Address = CGF.EmitScalarExpr(E->getArg(0)); in EmitNontemporalLoad()
156 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in EmitBinaryAtomicPost()
165 Args[1] = CGF.EmitScalarExpr(E->getArg(1)); in EmitBinaryAtomicPost()
195 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in MakeAtomicCmpXchgValue()
204 Args[1] = CGF.EmitScalarExpr(E->getArg(1)); in MakeAtomicCmpXchgValue()
207 Args[2] = EmitToInt(CGF, CGF.EmitScalarExpr(E->getArg(2)), T, IntType); in MakeAtomicCmpXchgValue()
[all …]
DCGCUDARuntime.cpp47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); in EmitCUDAKernelCallExpr()
DCGExprComplex.cpp374 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral()
490 return EmitScalarToComplexCast(CGF.EmitScalarExpr(Op), Op->getType(), in EmitCast()
809 Ops.LHS = ComplexPairTy(CGF.EmitScalarExpr(E->getLHS()), nullptr); in EmitBinOps()
813 Ops.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr); in EmitBinOps()
845 OpInfo.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr); in EmitCompoundAssignLValue()
1006 llvm::Value *Real = CGF.EmitScalarExpr(E->getInit(0)); in VisitInitListExpr()
1007 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); in VisitInitListExpr()
DCGObjC.cpp153 llvm::Value *value = EmitScalarExpr(Rhs); in EmitObjCCollectionLiteral()
164 llvm::Value *keyValue = EmitScalarExpr(Key); in EmitObjCCollectionLiteral()
172 llvm::Value *valueValue = EmitScalarExpr(Value); in EmitObjCCollectionLiteral()
388 Receiver = EmitScalarExpr(E->getInstanceReceiver()); in EmitObjCMessageExpr()
1509 Collection = EmitScalarExpr(S.getCollection()); in EmitObjCForCollectionStmt()
2444 return TryEmitResult(CGF.EmitScalarExpr(e), false); in tryEmitARCRetainLoadOfScalar()
2455 llvm::Value *value = CGF.EmitScalarExpr(e); in emitARCRetainCall()
2637 llvm::Value *result = CGF.EmitScalarExpr(ce->getSubExpr()); in tryEmitARCRetainScalarExpr()
2651 result = CGF.EmitScalarExpr(ce->getSubExpr()); in tryEmitARCRetainScalarExpr()
2724 llvm::Value *result = CGF.EmitScalarExpr(e); in tryEmitARCRetainScalarExpr()
[all …]
DCGExprScalar.cpp123 Value *AlignmentValue = CGF.EmitScalarExpr(AVAttr->getAlignment()); in EmitLValueAlignmentAssumption()
432 CGF.EmitScalarExpr(E->getBase()); in VisitCXXPseudoDestructorExpr()
988 Value *LHS = CGF.EmitScalarExpr(E->getExpr(0)); in VisitShuffleVectorExpr()
989 Value *RHS = CGF.EmitScalarExpr(E->getExpr(1)); in VisitShuffleVectorExpr()
996 Mask = CGF.EmitScalarExpr(E->getExpr(2)); in VisitShuffleVectorExpr()
1038 Value* V1 = CGF.EmitScalarExpr(E->getExpr(0)); in VisitShuffleVectorExpr()
1039 Value* V2 = CGF.EmitScalarExpr(E->getExpr(1)); in VisitShuffleVectorExpr()
1059 Value *Src = CGF.EmitScalarExpr(E->getSrcExpr()); in VisitConvertVectorExpr()
1133 CGF.EmitScalarExpr(E->getBase()); in VisitMemberExpr()
1933 llvm::Value* Idx = CGF.EmitScalarExpr(IdxExpr); in VisitOffsetOfExpr()
[all …]
DCGExpr.cpp112 llvm::Value *MemPtr = EmitScalarExpr(E); in EvaluateExprAsBool()
119 return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy, Loc); in EvaluateExprAsBool()
144 return RValue::get(EmitScalarExpr(E, ignoreResult)); in EmitAnyExpr()
188 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); in EmitAnyExprToMem()
448 llvm::Value *Ptr = EmitScalarExpr(Adjustment.Ptr.RHS); in EmitMaterializeTemporaryExpr()
874 return Address(EmitScalarExpr(E), Align); in EmitPointerWithAlignment()
2703 llvm::Value *Idx = EmitScalarExpr(E->getIdx()); in EmitArraySubscriptExpr()
2851 EmitScalarExpr(LowerBound), IntPtrTy, in EmitOMPArraySectionExpr()
2883 EmitScalarExpr(LowerBound), IntPtrTy, in EmitOMPArraySectionExpr()
2889 EmitScalarExpr(Length), IntPtrTy, in EmitOMPArraySectionExpr()
[all …]
DCGDeclCXX.cpp40 CGM.getObjCRuntime().EmitObjCGlobalAssign(CGF, CGF.EmitScalarExpr(Init), in EmitDeclInit()
43 CGM.getObjCRuntime().EmitObjCWeakAssign(CGF, CGF.EmitScalarExpr(Init), in EmitDeclInit()
DCGAtomic.cpp690 Address Ptr(EmitScalarExpr(E->getPtr()), alignChars); in EmitAtomicExpr()
698 llvm::Value *Order = EmitScalarExpr(E->getOrder()); in EmitAtomicExpr()
730 OrderFail = EmitScalarExpr(E->getOrderFail()); in EmitAtomicExpr()
732 IsWeak = EmitScalarExpr(E->getWeak()); in EmitAtomicExpr()
743 llvm::Value *Val1Scalar = EmitScalarExpr(E->getVal1()); in EmitAtomicExpr()
1840 llvm::Value *value = EmitScalarExpr(init); in EmitAtomicInit()
DCGStmt.cpp526 llvm::Value *V = Builder.CreateBitCast(EmitScalarExpr(S.getTarget()), in EmitIndirectGotoStmt()
988 Builder.CreateStore(EmitScalarExpr(RV), ReturnValue); in EmitReturnStmt()
1470 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt()
1698 return EmitScalarExpr(InputExpr); in EmitAsmInput()
1700 return EmitScalarExpr(InputExpr); in EmitAsmInput()
DCGObjCRuntime.cpp334 lock = CGF.EmitScalarExpr(lockExpr); in EmitAtSynchronizedStmt()
DCGDecl.cpp662 llvm::Value *value = EmitScalarExpr(init); in EmitScalarInit()
719 value = EmitScalarExpr(init); in EmitScalarInit()
737 value = EmitScalarExpr(init); in EmitScalarInit()
DCGStmtOpenMP.cpp853 auto NumThreads = CGF.EmitScalarExpr(NumThreadsClause->getNumThreads(), in emitCommonOMPParallelDirective()
1036 cast<llvm::ConstantInt>(CGF.EmitScalarExpr(AlignmentExpr)); in emitAlignedClause()
1054 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in emitAlignedClause()
1328 llvm::Value *UBVal = EmitScalarExpr(S.getLastIteration()); in EmitOMPForOuterLoop()
1450 Chunk = CGF.EmitScalarExpr(Ch); in emitScheduleClause()
DCGExprCXX.cpp300 llvm::Value *MemFnPtr = EmitScalarExpr(MemFnExpr); in EmitCXXMemberPointerCallExpr()
566 numElements = CGF.EmitScalarExpr(e->getArraySize()); in EmitCXXNewAllocSize()
DCGCall.cpp1999 EmitScalarExpr(AVAttr->getAlignment()); in EmitFunctionProlog()
3665 OffsetValue = EmitScalarExpr(Offset); in EmitCall()
3667 llvm::Value *Alignment = EmitScalarExpr(AA->getAlignment()); in EmitCall()
DCGExprAgg.cpp1088 CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV); in EmitInitializationToLValue()
DCGException.cpp1695 llvm::Value *R = EmitScalarExpr(FilterExpr); in GenerateSEHFilterFunction()
DCodeGenFunction.cpp1673 llvm::Value *Size = EmitScalarExpr(size); in EmitVariablyModifiedType()
DCGOpenMPRuntime.cpp1402 auto *HintVal = CGF.EmitScalarExpr(Hint); in emitCriticalRegion()
3514 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTargetCall()
DCGBlocks.cpp957 llvm::Value *Callee = EmitScalarExpr(E->getCallee()); in EmitBlockCallExpr()
DCGClass.cpp760 RValue RHS = RValue::get(EmitScalarExpr(Init)); in EmitInitializerForField()
DCodeGenFunction.h2836 llvm::Value *EmitScalarExpr(const Expr *E , bool IgnoreResultAssign = false);
DCGObjCMac.cpp3981 CGF.EmitScalarExpr(cast<ObjCAtSynchronizedStmt>(S).getSynchExpr()); in EmitTryOrSynchronizedStmt()