/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 95 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 …]
|
D | CGCUDARuntime.cpp | 47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); in EmitCUDAKernelCallExpr()
|
D | CGObjC.cpp | 153 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 …]
|
D | CGExprComplex.cpp | 374 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()
|
D | CGExprScalar.cpp | 123 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 …]
|
D | CGExpr.cpp | 113 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 …]
|
D | CGDeclCXX.cpp | 40 CGM.getObjCRuntime().EmitObjCGlobalAssign(CGF, CGF.EmitScalarExpr(Init), in EmitDeclInit() 43 CGM.getObjCRuntime().EmitObjCWeakAssign(CGF, CGF.EmitScalarExpr(Init), in EmitDeclInit()
|
D | CGAtomic.cpp | 678 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()
|
D | CGStmt.cpp | 556 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()
|
D | CGStmtOpenMP.cpp | 1200 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()
|
D | CGObjCRuntime.cpp | 333 lock = CGF.EmitScalarExpr(lockExpr); in EmitAtSynchronizedStmt()
|
D | CGOpenMPRuntime.cpp | 2091 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 …]
|
D | CGDecl.cpp | 664 llvm::Value *value = EmitScalarExpr(init); in EmitScalarInit() 738 value = EmitScalarExpr(init); in EmitScalarInit()
|
D | CGExprCXX.cpp | 301 llvm::Value *MemFnPtr = EmitScalarExpr(MemFnExpr); in EmitCXXMemberPointerCallExpr() 571 numElements = CGF.EmitScalarExpr(e->getArraySize()); in EmitCXXNewAllocSize()
|
D | CGCall.cpp | 2257 EmitScalarExpr(AVAttr->getAlignment()); in EmitFunctionProlog() 4119 OffsetValue = EmitScalarExpr(Offset); in EmitCall() 4121 llvm::Value *Alignment = EmitScalarExpr(AA->getAlignment()); in EmitCall()
|
D | CGExprAgg.cpp | 1095 CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV); in EmitInitializationToLValue()
|
D | CGException.cpp | 1695 llvm::Value *R = EmitScalarExpr(FilterExpr); in GenerateSEHFilterFunction()
|
D | CodeGenFunction.cpp | 1742 llvm::Value *Size = EmitScalarExpr(size); in EmitVariablyModifiedType()
|
D | CGBlocks.cpp | 960 llvm::Value *Callee = EmitScalarExpr(E->getCallee()); in EmitBlockCallExpr()
|
D | CGClass.cpp | 761 RValue RHS = RValue::get(EmitScalarExpr(Init)); in EmitInitializerForField()
|
D | CodeGenFunction.h | 3028 llvm::Value *EmitScalarExpr(const Expr *E , bool IgnoreResultAssign = false);
|
D | CGObjCMac.cpp | 4048 CGF.EmitScalarExpr(cast<ObjCAtSynchronizedStmt>(S).getSynchExpr()); in EmitTryOrSynchronizedStmt()
|