/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 94 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 …]
|
D | CGCUDARuntime.cpp | 47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); in EmitCUDAKernelCallExpr()
|
D | CGExprComplex.cpp | 374 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()
|
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() 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 …]
|
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() 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 …]
|
D | CGExpr.cpp | 112 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 …]
|
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 | 690 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()
|
D | CGStmt.cpp | 526 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()
|
D | CGObjCRuntime.cpp | 334 lock = CGF.EmitScalarExpr(lockExpr); in EmitAtSynchronizedStmt()
|
D | CGDecl.cpp | 662 llvm::Value *value = EmitScalarExpr(init); in EmitScalarInit() 719 value = EmitScalarExpr(init); in EmitScalarInit() 737 value = EmitScalarExpr(init); in EmitScalarInit()
|
D | CGStmtOpenMP.cpp | 853 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()
|
D | CGExprCXX.cpp | 300 llvm::Value *MemFnPtr = EmitScalarExpr(MemFnExpr); in EmitCXXMemberPointerCallExpr() 566 numElements = CGF.EmitScalarExpr(e->getArraySize()); in EmitCXXNewAllocSize()
|
D | CGCall.cpp | 1999 EmitScalarExpr(AVAttr->getAlignment()); in EmitFunctionProlog() 3665 OffsetValue = EmitScalarExpr(Offset); in EmitCall() 3667 llvm::Value *Alignment = EmitScalarExpr(AA->getAlignment()); in EmitCall()
|
D | CGExprAgg.cpp | 1088 CGF.EmitStoreThroughLValue(RValue::get(CGF.EmitScalarExpr(E)), LV); in EmitInitializationToLValue()
|
D | CGException.cpp | 1695 llvm::Value *R = EmitScalarExpr(FilterExpr); in GenerateSEHFilterFunction()
|
D | CodeGenFunction.cpp | 1673 llvm::Value *Size = EmitScalarExpr(size); in EmitVariablyModifiedType()
|
D | CGOpenMPRuntime.cpp | 1402 auto *HintVal = CGF.EmitScalarExpr(Hint); in emitCriticalRegion() 3514 DeviceID = CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(Device), in emitTargetCall()
|
D | CGBlocks.cpp | 957 llvm::Value *Callee = EmitScalarExpr(E->getCallee()); in EmitBlockCallExpr()
|
D | CGClass.cpp | 760 RValue RHS = RValue::get(EmitScalarExpr(Init)); in EmitInitializerForField()
|
D | CodeGenFunction.h | 2836 llvm::Value *EmitScalarExpr(const Expr *E , bool IgnoreResultAssign = false);
|
D | CGObjCMac.cpp | 3981 CGF.EmitScalarExpr(cast<ObjCAtSynchronizedStmt>(S).getSynchExpr()); in EmitTryOrSynchronizedStmt()
|