Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGBuiltin.cpp95 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in MakeBinaryAtomicValue()
105 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()
194 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in MakeAtomicCmpXchgValue()
203 Args[1] = CGF.EmitScalarExpr(E->getArg(1)); in MakeAtomicCmpXchgValue()
206 Args[2] = EmitToInt(CGF, CGF.EmitScalarExpr(E->getArg(2)), T, IntType); in MakeAtomicCmpXchgValue()
[all …]
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()
1505 Collection = EmitScalarExpr(S.getCollection()); in EmitObjCForCollectionStmt()
2455 return TryEmitResult(CGF.EmitScalarExpr(e), false); in tryEmitARCRetainLoadOfScalar()
2510 llvm::Value *value = CGF.EmitScalarExpr(e); in emitARCRetainCallResult()
2524 llvm::Value *value = CGF.EmitScalarExpr(e); in emitARCUnsafeClaimCallResult()
2844 llvm::Value *result = CGF.EmitScalarExpr(e); in visitConsumeObject()
2857 result = CGF.EmitScalarExpr(e); in visitExtendBlockObject()
[all …]
DCGCUDARuntime.cpp47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); in EmitCUDAKernelCallExpr()
DCGExprComplex.cpp374 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral()
491 return EmitScalarToComplexCast(CGF.EmitScalarExpr(Op), Op->getType(), in EmitCast()
810 Ops.LHS = ComplexPairTy(CGF.EmitScalarExpr(E->getLHS()), nullptr); in EmitBinOps()
814 Ops.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr); in EmitBinOps()
846 OpInfo.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr); in EmitCompoundAssignLValue()
1007 llvm::Value *Real = CGF.EmitScalarExpr(E->getInit(0)); in VisitInitListExpr()
1008 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); in VisitInitListExpr()
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()
1023 Value* V1 = CGF.EmitScalarExpr(E->getExpr(0)); in VisitShuffleVectorExpr()
1024 Value* V2 = CGF.EmitScalarExpr(E->getExpr(1)); in VisitShuffleVectorExpr()
1044 Value *Src = CGF.EmitScalarExpr(E->getSrcExpr()); in VisitConvertVectorExpr()
1118 CGF.EmitScalarExpr(E->getBase()); in VisitMemberExpr()
1920 llvm::Value* Idx = CGF.EmitScalarExpr(IdxExpr); in VisitOffsetOfExpr()
2072 CGF.EmitScalarExpr(Op, true); in VisitUnaryImag()
[all …]
DCGExpr.cpp113 llvm::Value *MemPtr = EmitScalarExpr(E); in EvaluateExprAsBool()
120 return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy, Loc); in EvaluateExprAsBool()
145 return RValue::get(EmitScalarExpr(E, ignoreResult)); in EmitAnyExpr()
189 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); in EmitAnyExprToMem()
473 llvm::Value *Ptr = EmitScalarExpr(Adjustment.Ptr.RHS); in EmitMaterializeTemporaryExpr()
900 return Address(EmitScalarExpr(E), Align); in EmitPointerWithAlignment()
2872 llvm::Value *Idx = EmitScalarExpr(E->getIdx()); in EmitArraySubscriptExpr()
3053 EmitScalarExpr(LowerBound), IntPtrTy, in EmitOMPArraySectionExpr()
3085 EmitScalarExpr(LowerBound), IntPtrTy, in EmitOMPArraySectionExpr()
3091 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.cpp678 Address Ptr(EmitScalarExpr(E->getPtr()), alignChars); in EmitAtomicExpr()
686 llvm::Value *Order = EmitScalarExpr(E->getOrder()); in EmitAtomicExpr()
718 OrderFail = EmitScalarExpr(E->getOrderFail()); in EmitAtomicExpr()
720 IsWeak = EmitScalarExpr(E->getWeak()); in EmitAtomicExpr()
731 llvm::Value *Val1Scalar = EmitScalarExpr(E->getVal1()); in EmitAtomicExpr()
1821 llvm::Value *value = EmitScalarExpr(init); in EmitAtomicInit()
DCGStmt.cpp556 llvm::Value *V = Builder.CreateBitCast(EmitScalarExpr(S.getTarget()), in EmitIndirectGotoStmt()
1041 Builder.CreateStore(EmitScalarExpr(RV), ReturnValue); in EmitReturnStmt()
1530 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt()
1755 return EmitScalarExpr(InputExpr); in EmitAsmInput()
1757 return EmitScalarExpr(InputExpr); in EmitAsmInput()
DCGStmtOpenMP.cpp1200 auto NumThreads = CGF.EmitScalarExpr(NumThreadsClause->getNumThreads(), in emitCommonOMPParallelDirective()
1399 cast<llvm::ConstantInt>(CGF.EmitScalarExpr(AlignmentExpr)); in emitAlignedClause()
1417 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in emitAlignedClause()
1832 llvm::Value *UBVal = EmitScalarExpr(S.getLastIteration()); in EmitOMPForOuterLoop()
2021 Chunk = EmitScalarExpr(Ch); in EmitOMPWorksharingLoop()
2433 EmitScalarExpr(Prio), Prio->getType(), in EmitOMPTaskBasedDirective()
2679 Chunk = EmitScalarExpr(Ch); in EmitOMPDistributeLoop()
3499 Data.Schedule.setPointer(EmitScalarExpr(Clause->getGrainsize())); in EmitOMPTaskLoopBasedDirective()
3503 Data.Schedule.setPointer(EmitScalarExpr(Clause->getNumTasks())); in EmitOMPTaskLoopBasedDirective()
DCGObjCRuntime.cpp333 lock = CGF.EmitScalarExpr(lockExpr); in EmitAtSynchronizedStmt()
DCGOpenMPRuntime.cpp2091 CGF.EmitScalarExpr(Hint), CGM.IntPtrTy, /*isSigned=*/false)); in emitCriticalRegion()
4893 llvm::Value *NumTeams = CGF.EmitScalarExpr(NTE->getNumTeams()); in emitNumTeamsClauseForTargetDirective()
4942 llvm::Value *ThreadLimit = CGF.EmitScalarExpr(TLE->getThreadLimit()); in emitThreadLimitClauseForTargetDirective()
5038 auto *LengthVal = CGF.EmitScalarExpr(OAE->getLength()); in getExprTypeSize()
5265 BP = CGF.EmitScalarExpr(ME->getBase()); in generateInfoForComponentList()
5814 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTargetCall()
6041 ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(NumTeams), in emitNumTeamsClause()
6047 ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(ThreadLimit), in emitNumTeamsClause()
6107 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTargetDataCalls()
6142 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTargetDataCalls()
[all …]
DCGDecl.cpp664 llvm::Value *value = EmitScalarExpr(init); in EmitScalarInit()
738 value = EmitScalarExpr(init); in EmitScalarInit()
DCGExprCXX.cpp301 llvm::Value *MemFnPtr = EmitScalarExpr(MemFnExpr); in EmitCXXMemberPointerCallExpr()
571 numElements = CGF.EmitScalarExpr(e->getArraySize()); in EmitCXXNewAllocSize()
DCGCall.cpp2257 EmitScalarExpr(AVAttr->getAlignment()); in EmitFunctionProlog()
4119 OffsetValue = EmitScalarExpr(Offset); in EmitCall()
4121 llvm::Value *Alignment = EmitScalarExpr(AA->getAlignment()); in EmitCall()
DCGExprAgg.cpp1095 CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV); in EmitInitializationToLValue()
DCGException.cpp1695 llvm::Value *R = EmitScalarExpr(FilterExpr); in GenerateSEHFilterFunction()
DCodeGenFunction.cpp1742 llvm::Value *Size = EmitScalarExpr(size); in EmitVariablyModifiedType()
DCGBlocks.cpp960 llvm::Value *Callee = EmitScalarExpr(E->getCallee()); in EmitBlockCallExpr()
DCGClass.cpp761 RValue RHS = RValue::get(EmitScalarExpr(Init)); in EmitInitializerForField()
DCodeGenFunction.h3028 llvm::Value *EmitScalarExpr(const Expr *E , bool IgnoreResultAssign = false);
DCGObjCMac.cpp4048 CGF.EmitScalarExpr(cast<ObjCAtSynchronizedStmt>(S).getSynchExpr()); in EmitTryOrSynchronizedStmt()