/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 82 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCBoxedExpr() 194 return Builder.CreateBitCast(result.getScalarVal(), in EmitObjCCollectionLiteral() 236 return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(), in AdjustRelatedResultType() 411 llvm::Value *newSelf = result.getScalarVal(); in EmitObjCMessageExpr() 904 RV.getScalarVal(), in generateObjCGetterBody() 951 value = EmitLoadOfLValue(LV, SourceLocation()).getScalarVal(); in generateObjCGetterBody() 1496 llvm::Value *initialBufferLimit = CountRV.getScalarVal(); in EmitObjCForCollectionStmt() 1668 llvm::Value *refetchCount = CountRV.getScalarVal(); in EmitObjCForCollectionStmt() 2286 Receiver = AllocRV.getScalarVal(); in EmitObjCMRRAutoreleasePoolPush() 2293 return InitRV.getScalarVal(); in EmitObjCMRRAutoreleasePoolPush() [all …]
|
D | CGStmtOpenMP.cpp | 726 llvm::ConstantInt *Val = cast<llvm::ConstantInt>(Len.getScalarVal()); in EmitOMPSimdDirective() 897 (Dynamic ? EmitAnyExpr(S.getLastIteration()).getScalarVal() : UB), ST, in EmitOMPForOuterLoop() 1155 CGF.EmitLoadOfLValue(IV, S.getLocStart()).getScalarVal(), ExitBB, in emitSections() 1385 ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, DestType) in convertToScalarValue() 1400 CGF.EmitScalarConversion(Val.getScalarVal(), SrcType, DestElementType); in convertToComplexValue() 1480 !Update.getScalarVal()->getType()->isIntegerTy() || !X.isSimple() || in emitOMPAtomicRMW() 1481 (!isa<llvm::ConstantInt>(Update.getScalarVal()) && in emitOMPAtomicRMW() 1482 (Update.getScalarVal()->getType() != in emitOMPAtomicRMW() 1549 auto *UpdateVal = Update.getScalarVal(); in emitOMPAtomicRMW()
|
D | CGAtomic.cpp | 912 llvm::Value *ResVal = Res.getScalarVal(); in EmitAtomicExpr() 1266 CGF.EmitStoreOfScalar(rvalue.getScalarVal(), TempLVal, /*init*/ true); in emitCopyIntoMemory() 1293 llvm::Value *Value = RVal.getScalarVal(); in convertRValueToInt() 1366 SuccessFailureRVal.getScalarVal()); in EmitAtomicCompareExchangeLibcall() 1477 llvm::PHINode *PHI = Builder.CreatePHI(OldRVal.getScalarVal()->getType(), in EmitAtomicStore() 1479 PHI->addIncoming(OldRVal.getScalarVal(), CurBB); in EmitAtomicStore() 1505 PHI->addIncoming(Pair.first.getScalarVal(), ContBB); in EmitAtomicStore() 1542 IsScalar ? OldRVal.getScalarVal() : Atomics.convertRValueToInt(OldRVal); in EmitAtomicUpdate() 1593 OldVal = IsScalar ? Pair.first.getScalarVal() in EmitAtomicUpdate()
|
D | CGExpr.cpp | 1168 return EmitAtomicLoad(lvalue, Loc).getScalarVal(); in EmitLoadOfScalar() 1476 Vec = Builder.CreateInsertElement(Vec, Src.getScalarVal(), in EmitStoreThroughLValue() 1507 EmitARCStoreStrong(Dst, Src.getScalarVal(), /*ignore*/ true); in EmitStoreThroughLValue() 1511 EmitARCStoreWeak(Dst.getAddress(), Src.getScalarVal(), /*ignore*/ true); in EmitStoreThroughLValue() 1516 Src.getScalarVal())); in EmitStoreThroughLValue() 1525 llvm::Value *src = Src.getScalarVal(); in EmitStoreThroughLValue() 1533 llvm::Value *src = Src.getScalarVal(); in EmitStoreThroughLValue() 1555 EmitStoreOfScalar(Src.getScalarVal(), Dst, isInit); in EmitStoreThroughLValue() 1565 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughBitfieldLValue() 1639 llvm::Value *SrcVal = Src.getScalarVal(); in EmitStoreThroughExtVectorComponentLValue() [all …]
|
D | CGExprScalar.cpp | 92 return CGF.EmitLoadOfLValue(LV, Loc).getScalarVal(); in EmitLoadOfLValue() 253 return CGF.EmitPseudoObjectRValue(E).getScalarVal(); in VisitPseudoObjectExpr() 261 return CGF.getOpaqueRValueMapping(E).getScalarVal(); in VisitOpaqueValueExpr() 288 return CGF.EmitObjCMessageExpr(E).getScalarVal(); in VisitObjCMessageExpr() 293 Value *V = CGF.EmitLoadOfLValue(LV, E->getExprLoc()).getScalarVal(); in VisitObjCIsaExpr() 326 Value *V = CGF.EmitCallExpr(E).getScalarVal(); in VisitCallExpr() 1849 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), type); in EmitScalarPrePostIncDec() 2053 E->getExprLoc()).getScalarVal(); in VisitUnaryReal() 2070 E->getExprLoc()).getScalarVal(); in VisitUnaryImag() 2192 llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), LHSTy); in EmitCompoundAssignLValue() [all …]
|
D | CGStmt.cpp | 1009 Builder.CreateStore(RV.getScalarVal(), ReturnValue); in EmitReturnOfRValue() 1067 Builder.CreateStore(Result.getScalarVal(), ReturnValue); in EmitReturnStmt() 1740 Arg = EmitLoadOfLValue(InputValue, Loc).getScalarVal(); in EmitAsmInputLValue() 2213 S.getLocStart()).getScalarVal(); in GenerateCapturedStmtFunction() 2223 CXXThisValue = EmitLoadOfLValue(ThisLValue, Loc).getScalarVal(); in GenerateCapturedStmtFunction()
|
D | CGValue.h | 54 llvm::Value *getScalarVal() const { in getScalarVal() function
|
D | CGVTables.cpp | 79 llvm::Value *ReturnValue = RV.getScalarVal(); in PerformReturnAdjustment() 182 Builder.CreateRet(RV.getScalarVal()); in GenerateVarArgsThunk()
|
D | CGCleanup.cpp | 28 return DominatingLLVMValue::needsSaving(rv.getScalarVal()); in needsSaving() 37 llvm::Value *V = rv.getScalarVal(); in save()
|
D | CodeGenFunction.cpp | 731 SourceLocation()).getScalarVal(); in StartFunction() 736 SourceLocation()).getScalarVal(); in StartFunction() 1651 llvm::Value *value = rvalue.getScalarVal(); in protectFromPeepholes()
|
D | CGCall.cpp | 816 llvm::Value *V = RV.getScalarVal(); in ExpandTypeToArgs() 2627 llvm::Value *src = srcRV.getScalarVal(); in emitWritebackArg() 2707 llvm::Value *V = RV.getScalarVal(); in emitNonNullArgCheck() 3008 CGF.EmitStoreOfScalar(Src.getScalarVal(), Dst, /*init=*/true); in EmitInitStoreOfNonAggregate() 3182 V = RV.getScalarVal(); in EmitCall() 3499 EmitAlignmentAssumption(Ret.getScalarVal(), AlignmentCI->getZExtValue(), in EmitCall()
|
D | CGDeclCXX.cpp | 183 EmitStoreOfScalar(RV.getScalarVal(), DeclPtr, false, Alignment, T); in EmitCXXGlobalVarDeclInit()
|
D | CGExprComplex.cpp | 1097 Result = Val.getScalarVal(); in EmitScalarCompoundAssignWithComplex()
|
D | CGExprCXX.cpp | 1295 llvm::Value *allocation = RV.getScalarVal(); in EmitCXXNewExpr()
|
D | CGOpenMPRuntime.cpp | 407 ThreadID = CGF.EmitLoadOfLValue(LVal, Loc).getScalarVal(); in getThreadID()
|
D | CGObjCMac.cpp | 1611 CGF.EmitARCRelease(RV.getScalarVal(), ARCImpreciseLifetime); in complete() 1637 phi->addIncoming(result.getScalarVal(), callBB); in complete()
|
D | CGObjCGNU.cpp | 1437 llvm::Value *v = msgRet.getScalarVal(); in GenerateMessageSend()
|
D | MicrosoftCXXABI.cpp | 1629 return RV.getScalarVal(); in EmitVirtualDestructorCall()
|