reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
869 llvm::Value *NumElements = CGF.emitArrayLength(ArrayTy, ElementTy, DestAddr); 871 CGF.Builder.CreateElementBitCast(DestAddr, DestAddr.getElementType()); 874 CGF.Builder.CreateElementBitCast(SrcAddr, DestAddr.getElementType()); 881 llvm::Value *DestEnd = CGF.Builder.CreateGEP(DestBegin, NumElements); 883 llvm::BasicBlock *BodyBB = CGF.createBasicBlock("omp.arrayinit.body"); 884 llvm::BasicBlock *DoneBB = CGF.createBasicBlock("omp.arrayinit.done"); 886 CGF.Builder.CreateICmpEQ(DestBegin, DestEnd, "omp.arrayinit.isempty"); 887 CGF.Builder.CreateCondBr(IsEmpty, DoneBB, BodyBB); 890 llvm::BasicBlock *EntryBB = CGF.Builder.GetInsertBlock(); 891 CGF.EmitBlock(BodyBB); 893 CharUnits ElementSize = CGF.getContext().getTypeSizeInChars(ElementTy); 898 SrcElementPHI = CGF.Builder.CreatePHI(SrcBegin->getType(), 2, 905 llvm::PHINode *DestElementPHI = CGF.Builder.CreatePHI( 914 CodeGenFunction::RunCleanupsScope InitScope(CGF); 916 emitInitWithReductionInitializer(CGF, DRD, Init, DestElementCurrent, 919 CGF.EmitAnyExprToMem(Init, DestElementCurrent, ElementTy.getQualifiers(), 925 llvm::Value *SrcElementNext = CGF.Builder.CreateConstGEP1_32( 927 SrcElementPHI->addIncoming(SrcElementNext, CGF.Builder.GetInsertBlock()); 931 llvm::Value *DestElementNext = CGF.Builder.CreateConstGEP1_32( 935 CGF.Builder.CreateICmpEQ(DestElementNext, DestEnd, "omp.arraycpy.done"); 936 CGF.Builder.CreateCondBr(Done, DoneBB, BodyBB); 937 DestElementPHI->addIncoming(DestElementNext, CGF.Builder.GetInsertBlock()); 940 CGF.EmitBlock(DoneBB, /*IsFinished=*/true);